#B954EF#B954EF

#B954EF is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 64.0% C 0.230 H 311.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B954EF
RGBrgb(185, 84, 239)
HSLhsl(279, 83%, 63%)
HSVhsv(279, 65%, 94%)
CMYKcmyk(22.6%, 64.9%, 0%, 6.3%)
CIE-LABlab(54.96, 64.92, -61.11)
CIE-LCHlch(54.96, 89.15, 316.73°)
OKLaboklab(64% 0.1529 -0.1723)
OKLCHoklch(64% 0.23 311.6)
XYZxyz(38.7550, 22.8879, 84.0209)
Luminance0.2289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B954EF #8AEF54
analogous
#6B54EF #B954EF #EF54D7
triadic
#B954EF #EFB954 #54EFB9
tetradic
#B954EF #EF6B54 #8AEF54 #54D7EF
square
#B954EF #EF6B54 #8AEF54 #54D7EF
split-complementary
#B954EF #D7EF54 #54EF6B
monochromatic
#7E11B7 #A21CEA #B954EF #D08CF4 #E7C4F9

Accessibility & contrast

On white

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

On black

5.58
#B954EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B954EF
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B954EF#FFFFFF#000000##000000
##B954EF1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#4485EB
Tritanopia (blue-blind)
#B3739B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b954ef;
/* rgb */ color: rgb(185, 84, 239);
/* oklch */ color: oklch(64.0% 0.230 311.6);
Tailwind
colors: {
  custom: {
    50: '#d28af5',
    500: '#b954ef',
    950: '#000000',
  },
}
SCSS
$custom: #b954ef;
$custom-light: #d28af5;
$custom-dark: #000000;
JSON
{
  "hex": "#b954ef",
  "rgb": {
    "r": 185,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 279.097,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63998,
    "c": 0.23036,
    "h": 311.6
  },
  "luminance": 0.22887
}

Semantic roles & 50–950 ramp

primary
#B954EF
secondary
#C7EBB4
accent
#DF0652
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#150C17
muted
#837D85

Preview Lab

Preview with #B954EF

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

Preview Lab → · Contrast checker → · Palette generator →

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