#B954ED#B954ED

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

Color values

HEX#B954ED
RGBrgb(185, 84, 237)
HSLhsl(280, 81%, 63%)
HSVhsv(280, 65%, 93%)
CMYKcmyk(21.9%, 64.6%, 0%, 7.1%)
CIE-LABlab(54.84, 64.50, -60.18)
CIE-LCHlch(54.84, 88.22, 316.98°)
OKLaboklab(63.87% 0.153 -0.1696)
OKLCHoklch(63.87% 0.228 312.1)
XYZxyz(38.4612, 22.7704, 82.4734)
Luminance0.2277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B954ED #88ED54
analogous
#6C54ED #B954ED #ED54D4
triadic
#B954ED #EDB954 #54EDB9
tetradic
#B954ED #ED6C54 #88ED54 #54D4ED
square
#B954ED #ED6C54 #88ED54 #54D4ED
split-complementary
#B954ED #D4ED54 #54ED6C
monochromatic
#7D13B4 #A21DE7 #B954ED #D08BF3 #E6C3F9

Accessibility & contrast

On white

3.78
#B954ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#B954ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B954ED
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B954ED#FFFFFF#000000##000000
##B954ED1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF2
Deuteranopia (green-blind)
#4685E9
Tritanopia (blue-blind)
#B3729A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b954ed;
/* rgb */ color: rgb(185, 84, 237);
/* oklch */ color: oklch(63.9% 0.228 312.1);
Tailwind
colors: {
  custom: {
    50: '#d28af4',
    500: '#b954ed',
    950: '#000000',
  },
}
SCSS
$custom: #b954ed;
$custom-light: #d28af4;
$custom-dark: #000000;
JSON
{
  "hex": "#b954ed",
  "rgb": {
    "r": 185,
    "g": 84,
    "b": 237
  },
  "hsl": {
    "h": 279.608,
    "s": 80.952,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63871,
    "c": 0.22841,
    "h": 312.1
  },
  "luminance": 0.22769
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B954ED

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

Preview Lab → · Contrast checker → · Palette generator →

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