#B25AF8#B25AF8

#B25AF8 is a light, highly saturated violet. Relative luminance 0.236; OKLCH L 64.5% C 0.230 H 306.6°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B25AF8
RGBrgb(178, 90, 248)
HSLhsl(273, 92%, 66%)
HSVhsv(273, 64%, 97%)
CMYKcmyk(28.2%, 63.7%, 0%, 2.7%)
CIE-LABlab(55.64, 62.61, -65.07)
CIE-LCHlch(55.64, 90.30, 313.90°)
OKLaboklab(64.48% 0.137 -0.1842)
OKLCHoklch(64.48% 0.23 306.6)
XYZxyz(38.9559, 23.5550, 91.2831)
Luminance0.2356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25AF8 #A0F85A
analogous
#635AF8 #B25AF8 #F85AEF
triadic
#B25AF8 #F8B25A #5AF8B2
tetradic
#B25AF8 #F8635A #A0F85A #5AEFF8
square
#B25AF8 #F8635A #A0F85A #5AEFF8
split-complementary
#B25AF8 #EFF85A #5AF863
monochromatic
#7709CF #971FF6 #B25AF8 #CD95FA #E9CFFD

Accessibility & contrast

On white

3.68
#B25AF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#B25AF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25AF8
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25AF8#FFFFFF#000000##000000
##B25AF81.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FD
Deuteranopia (green-blind)
#3686F4
Tritanopia (blue-blind)
#A67BA1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b25af8;
/* rgb */ color: rgb(178, 90, 248);
/* oklch */ color: oklch(64.5% 0.230 306.6);
Tailwind
colors: {
  custom: {
    50: '#ce8efb',
    500: '#b25af8',
    950: '#000000',
  },
}
SCSS
$custom: #b25af8;
$custom-light: #ce8efb;
$custom-dark: #000000;
JSON
{
  "hex": "#b25af8",
  "rgb": {
    "r": 178,
    "g": 90,
    "b": 248
  },
  "hsl": {
    "h": 273.418,
    "s": 91.86,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64481,
    "c": 0.22953,
    "h": 306.6
  },
  "luminance": 0.23555
}

Semantic roles & 50–950 ramp

primary
#B25AF8
secondary
#D4F1BD
accent
#E60066
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B25AF8

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B25AF8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva