#B95CE4#B95CE4

#B95CE4 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.3% C 0.209 H 313.6°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B95CE4
RGBrgb(185, 92, 228)
HSLhsl(281, 72%, 63%)
HSVhsv(281, 60%, 89%)
CMYKcmyk(18.9%, 59.6%, 0%, 10.6%)
CIE-LABlab(55.66, 58.95, -53.82)
CIE-LCHlch(55.66, 79.82, 317.60°)
OKLaboklab(64.3% 0.1439 -0.151)
OKLCHoklch(64.3% 0.209 313.6)
XYZxyz(37.8360, 23.5711, 75.9403)
Luminance0.2357 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95CE4 #87E45C
analogous
#755CE4 #B95CE4 #E45CCB
triadic
#B95CE4 #E4B95C #5CE4B9
tetradic
#B95CE4 #E4755C #87E45C #5CCBE4
square
#B95CE4 #E4755C #87E45C #5CCBE4
split-complementary
#B95CE4 #CBE45C #5CE475
monochromatic
#7D1CAA #A227DB #B95CE4 #D091ED #E6C5F5

Accessibility & contrast

On white

3.68
#B95CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#B95CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B95CE4
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95CE4#FFFFFF#000000##000000
##B95CE41.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E80E8
Deuteranopia (green-blind)
#5688E1
Tritanopia (blue-blind)
#B57498
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b95ce4;
/* rgb */ color: rgb(185, 92, 228);
/* oklch */ color: oklch(64.3% 0.209 313.6);
Tailwind
colors: {
  custom: {
    50: '#d18fed',
    500: '#b95ce4',
    950: '#000000',
  },
}
SCSS
$custom: #b95ce4;
$custom-light: #d18fed;
$custom-dark: #000000;
JSON
{
  "hex": "#b95ce4",
  "rgb": {
    "r": 185,
    "g": 92,
    "b": 228
  },
  "hsl": {
    "h": 281.029,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64296,
    "c": 0.20861,
    "h": 313.6
  },
  "luminance": 0.2357
}

Semantic roles & 50–950 ramp

primary
#B95CE4
secondary
#C5E7B5
accent
#D4124F
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B95CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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