#B95BEC#B95BEC

#B95BEC is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.7% C 0.218 H 311.7°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#B95BEC
RGBrgb(185, 91, 236)
HSLhsl(279, 79%, 64%)
HSVhsv(279, 61%, 93%)
CMYKcmyk(21.6%, 61.4%, 0%, 7.5%)
CIE-LABlab(55.94, 61.09, -57.85)
CIE-LCHlch(55.94, 84.14, 316.56°)
OKLaboklab(64.65% 0.1451 -0.1628)
OKLCHoklch(64.65% 0.218 311.7)
XYZxyz(38.8862, 23.8535, 81.8963)
Luminance0.2385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95BEC #8EEC5B
analogous
#715BEC #B95BEC #EC5BD6
triadic
#B95BEC #ECB95B #5BECB9
tetradic
#B95BEC #EC715B #8EEC5B #5BD6EC
square
#B95BEC #EC715B #8EEC5B #5BD6EC
split-complementary
#B95BEC #D6EC5B #5BEC71
monochromatic
#7E15B7 #A224E6 #B95BEC #D092F2 #E8C9F9

Accessibility & contrast

On white

3.64
#B95BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#B95BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B95BEC
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95BEC#FFFFFF#000000##000000
##B95BEC1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D81F1
Deuteranopia (green-blind)
#4E88E9
Tritanopia (blue-blind)
#B3779B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b95bec;
/* rgb */ color: rgb(185, 91, 236);
/* oklch */ color: oklch(64.7% 0.218 311.7);
Tailwind
colors: {
  custom: {
    50: '#d28ef3',
    500: '#b95bec',
    950: '#000000',
  },
}
SCSS
$custom: #b95bec;
$custom-light: #d28ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#b95bec",
  "rgb": {
    "r": 185,
    "g": 91,
    "b": 236
  },
  "hsl": {
    "h": 278.897,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64651,
    "c": 0.21806,
    "h": 311.7
  },
  "luminance": 0.23853
}

Semantic roles & 50–950 ramp

primary
#B95BEC
secondary
#CAEBB8
accent
#DC0A54
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B95BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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