#B95BEA#B95BEA

#B95BEA is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.5% C 0.216 H 312.2°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B95BEA
RGBrgb(185, 91, 234)
HSLhsl(279, 77%, 64%)
HSVhsv(279, 61%, 92%)
CMYKcmyk(20.9%, 61.1%, 0%, 8.2%)
CIE-LABlab(55.82, 60.67, -56.92)
CIE-LCHlch(55.82, 83.19, 316.83°)
OKLaboklab(64.53% 0.1451 -0.1601)
OKLCHoklch(64.53% 0.216 312.2)
XYZxyz(38.5973, 23.7380, 80.3746)
Luminance0.2374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95BEA #8CEA5B
analogous
#715BEA #B95BEA #EA5BD3
triadic
#B95BEA #EAB95B #5BEAB9
tetradic
#B95BEA #EA715B #8CEA5B #5BD3EA
square
#B95BEA #EA715B #8CEA5B #5BD3EA
split-complementary
#B95BEA #D3EA5B #5BEA71
monochromatic
#7E17B4 #A225E3 #B95BEA #D091F1 #E7C8F8

Accessibility & contrast

On white

3.65
#B95BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#B95BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B95BEA
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95BEA#FFFFFF#000000##000000
##B95BEA1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2181EE
Deuteranopia (green-blind)
#5088E7
Tritanopia (blue-blind)
#B4769A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b95bea;
/* rgb */ color: rgb(185, 91, 234);
/* oklch */ color: oklch(64.5% 0.216 312.2);
Tailwind
colors: {
  custom: {
    50: '#d28ef1',
    500: '#b95bea',
    950: '#000000',
  },
}
SCSS
$custom: #b95bea;
$custom-light: #d28ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#b95bea",
  "rgb": {
    "r": 185,
    "g": 91,
    "b": 234
  },
  "hsl": {
    "h": 279.441,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64529,
    "c": 0.21605,
    "h": 312.2
  },
  "luminance": 0.23737
}

Semantic roles & 50–950 ramp

primary
#B95BEA
secondary
#C8EAB7
accent
#DA0C52
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B95BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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