#B95DEC#B95DEC

#B95DEC is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.9% C 0.215 H 311.5°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B95DEC
RGBrgb(185, 93, 236)
HSLhsl(279, 79%, 65%)
HSVhsv(279, 61%, 93%)
CMYKcmyk(21.6%, 60.6%, 0%, 7.5%)
CIE-LABlab(56.29, 60.15, -57.29)
CIE-LCHlch(56.29, 83.07, 316.39°)
OKLaboklab(64.9% 0.1427 -0.1612)
OKLCHoklch(64.9% 0.215 311.5)
XYZxyz(39.0595, 24.2000, 81.9541)
Luminance0.2420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95DEC #90EC5D
analogous
#715DEC #B95DEC #EC5DD8
triadic
#B95DEC #ECB95D #5DECB9
tetradic
#B95DEC #EC715D #90EC5D #5DD8EC
square
#B95DEC #EC715D #90EC5D #5DD8EC
split-complementary
#B95DEC #D8EC5D #5DEC71
monochromatic
#7F16B9 #A126E6 #B95DEC #D194F2 #E8CBF9

Accessibility & contrast

On white

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

On black

5.84
#B95DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B95DEC
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95DEC#FFFFFF#000000##000000
##B95DEC1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2482F0
Deuteranopia (green-blind)
#5089E9
Tritanopia (blue-blind)
#B3789C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b95dec;
/* rgb */ color: rgb(185, 93, 236);
/* oklch */ color: oklch(64.9% 0.215 311.5);
Tailwind
colors: {
  custom: {
    50: '#d290f3',
    500: '#b95dec',
    950: '#000000',
  },
}
SCSS
$custom: #b95dec;
$custom-light: #d290f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b95dec",
  "rgb": {
    "r": 185,
    "g": 93,
    "b": 236
  },
  "hsl": {
    "h": 278.601,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64902,
    "c": 0.21529,
    "h": 311.5
  },
  "luminance": 0.24199
}

Semantic roles & 50–950 ramp

primary
#B95DEC
secondary
#CBEBBA
accent
#DB0A55
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B95DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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