#B956ED#B956ED

#B956ED is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 64.1% C 0.226 H 311.9°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B956ED
RGBrgb(185, 86, 237)
HSLhsl(279, 81%, 63%)
HSVhsv(279, 64%, 93%)
CMYKcmyk(21.9%, 63.7%, 0%, 7.1%)
CIE-LABlab(55.16, 63.61, -59.66)
CIE-LCHlch(55.16, 87.21, 316.83°)
OKLaboklab(64.11% 0.1508 -0.1681)
OKLCHoklch(64.11% 0.226 311.9)
XYZxyz(38.6187, 23.0853, 82.5259)
Luminance0.2308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B956ED #8AED56
analogous
#6D56ED #B956ED #ED56D5
triadic
#B956ED #EDB956 #56EDB9
tetradic
#B956ED #ED6D56 #8AED56 #56D5ED
square
#B956ED #ED6D56 #8AED56 #56D5ED
split-complementary
#B956ED #D5ED56 #56ED6D
monochromatic
#7E13B5 #A21FE7 #B956ED #D08DF3 #E7C5F9

Accessibility & contrast

On white

3.74
#B956ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#B956ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B956ED
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B956ED#FFFFFF#000000##000000
##B956ED1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF2
Deuteranopia (green-blind)
#4886E9
Tritanopia (blue-blind)
#B3749A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b956ed;
/* rgb */ color: rgb(185, 86, 237);
/* oklch */ color: oklch(64.1% 0.226 311.9);
Tailwind
colors: {
  custom: {
    50: '#d28cf4',
    500: '#b956ed',
    950: '#000000',
  },
}
SCSS
$custom: #b956ed;
$custom-light: #d28cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b956ed",
  "rgb": {
    "r": 185,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 279.338,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64105,
    "c": 0.22579,
    "h": 311.9
  },
  "luminance": 0.23084
}

Semantic roles & 50–950 ramp

primary
#B956ED
secondary
#C7EAB4
accent
#DD0852
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #B956ED

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

Preview Lab → · Contrast checker → · Palette generator →

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