#B95CEE#B95CEE

#B95CEE is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.9% C 0.219 H 311.1°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#B95CEE
RGBrgb(185, 92, 238)
HSLhsl(278, 81%, 65%)
HSVhsv(278, 61%, 93%)
CMYKcmyk(22.3%, 61.3%, 0%, 6.7%)
CIE-LABlab(56.23, 61.05, -58.50)
CIE-LCHlch(56.23, 84.55, 316.22°)
OKLaboklab(64.9% 0.1439 -0.1647)
OKLCHoklch(64.9% 0.219 311.1)
XYZxyz(39.2645, 24.1425, 83.4639)
Luminance0.2414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95CEE #91EE5C
analogous
#705CEE #B95CEE #EE5CDA
triadic
#B95CEE #EEB95C #5CEEB9
tetradic
#B95CEE #EE705C #91EE5C #5CDAEE
square
#B95CEE #EE705C #91EE5C #5CDAEE
split-complementary
#B95CEE #DAEE5C #5CEE70
monochromatic
#7F14BC #A125E8 #B95CEE #D193F4 #E9CBFA

Accessibility & contrast

On white

3.60
#B95CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#B95CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B95CEE
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95CEE#FFFFFF#000000##000000
##B95CEE1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C82F3
Deuteranopia (green-blind)
#4E89EB
Tritanopia (blue-blind)
#B3789D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b95cee;
/* rgb */ color: rgb(185, 92, 238);
/* oklch */ color: oklch(64.9% 0.219 311.1);
Tailwind
colors: {
  custom: {
    50: '#d28ff4',
    500: '#b95cee',
    950: '#000000',
  },
}
SCSS
$custom: #b95cee;
$custom-light: #d28ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#b95cee",
  "rgb": {
    "r": 185,
    "g": 92,
    "b": 238
  },
  "hsl": {
    "h": 278.219,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64898,
    "c": 0.2187,
    "h": 311.1
  },
  "luminance": 0.24142
}

Semantic roles & 50–950 ramp

primary
#B95CEE
secondary
#CCECBA
accent
#DD0856
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B95CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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