#B954EE#B954EE

#B954EE is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.9% C 0.229 H 311.8°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B954EE
RGBrgb(185, 84, 238)
HSLhsl(279, 82%, 63%)
HSVhsv(279, 65%, 93%)
CMYKcmyk(22.3%, 64.7%, 0%, 6.7%)
CIE-LABlab(54.90, 64.71, -60.64)
CIE-LCHlch(54.90, 88.69, 316.86°)
OKLaboklab(63.93% 0.153 -0.1709)
OKLCHoklch(63.93% 0.229 311.8)
XYZxyz(38.6077, 22.8290, 83.2450)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B954EE #89EE54
analogous
#6C54EE #B954EE #EE54D6
triadic
#B954EE #EEB954 #54EEB9
tetradic
#B954EE #EE6C54 #89EE54 #54D6EE
square
#B954EE #EE6C54 #89EE54 #54D6EE
split-complementary
#B954EE #D6EE54 #54EE6C
monochromatic
#7D12B6 #A21CE8 #B954EE #D08CF4 #E7C3F9

Accessibility & contrast

On white

3.77
#B954EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#B954EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B954EE
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B954EE#FFFFFF#000000##000000
##B954EE1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF3
Deuteranopia (green-blind)
#4585EA
Tritanopia (blue-blind)
#B3739A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b954ee;
/* rgb */ color: rgb(185, 84, 238);
/* oklch */ color: oklch(63.9% 0.229 311.8);
Tailwind
colors: {
  custom: {
    50: '#d28af4',
    500: '#b954ee',
    950: '#000000',
  },
}
SCSS
$custom: #b954ee;
$custom-light: #d28af4;
$custom-dark: #000000;
JSON
{
  "hex": "#b954ee",
  "rgb": {
    "r": 185,
    "g": 84,
    "b": 238
  },
  "hsl": {
    "h": 279.351,
    "s": 81.915,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63934,
    "c": 0.22939,
    "h": 311.8
  },
  "luminance": 0.22828
}

Semantic roles & 50–950 ramp

primary
#B954EE
secondary
#C6EAB3
accent
#DE0751
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#150C17
muted
#837D85

Preview Lab

Preview with #B954EE

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

Preview Lab → · Contrast checker → · Palette generator →

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