#B251EE#B251EE

#B251EE is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.8% C 0.231 H 309.7°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B251EE
RGBrgb(178, 81, 238)
HSLhsl(277, 82%, 63%)
HSVhsv(277, 66%, 93%)
CMYKcmyk(25.2%, 66%, 0%, 6.7%)
CIE-LABlab(53.52, 64.55, -62.91)
CIE-LCHlch(53.52, 90.14, 315.74°)
OKLaboklab(62.75% 0.1475 -0.1778)
OKLCHoklch(62.75% 0.231 309.7)
XYZxyz(36.7321, 21.5236, 83.0918)
Luminance0.2152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B251EE #8DEE51
analogous
#6351EE #B251EE #EE51DC
triadic
#B251EE #EEB251 #51EEB2
tetradic
#B251EE #EE6351 #8DEE51 #51DCEE
square
#B251EE #EE6351 #8DEE51 #51DCEE
split-complementary
#B251EE #DCEE51 #51EE63
monochromatic
#7511B3 #9919E9 #B251EE #CB89F3 #E3C1F9

Accessibility & contrast

On white

3.96
#B251EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#B251EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B251EE
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B251EE#FFFFFF#000000##000000
##B251EE1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF3
Deuteranopia (green-blind)
#3881EA
Tritanopia (blue-blind)
#AA7299
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b251ee;
/* rgb */ color: rgb(178, 81, 238);
/* oklch */ color: oklch(62.8% 0.231 309.7);
Tailwind
colors: {
  custom: {
    50: '#cd88f4',
    500: '#b251ee',
    950: '#000000',
  },
}
SCSS
$custom: #b251ee;
$custom-light: #cd88f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b251ee",
  "rgb": {
    "r": 178,
    "g": 81,
    "b": 238
  },
  "hsl": {
    "h": 277.07,
    "s": 82.199,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62754,
    "c": 0.23103,
    "h": 309.7
  },
  "luminance": 0.21523
}

Semantic roles & 50–950 ramp

primary
#B251EE
secondary
#C7EAB1
accent
#DF0759
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B251EE

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

Preview Lab → · Contrast checker → · Palette generator →

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