#B95DFB#B95DFB

#B95DFB is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.8% C 0.231 H 308.1°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B95DFB
RGBrgb(185, 93, 251)
HSLhsl(275, 95%, 67%)
HSVhsv(275, 63%, 98%)
CMYKcmyk(26.3%, 62.9%, 0%, 1.6%)
CIE-LABlab(57.18, 63.37, -64.21)
CIE-LCHlch(57.18, 90.21, 314.62°)
OKLaboklab(65.84% 0.1422 -0.1814)
OKLCHoklch(65.84% 0.231 308.1)
XYZxyz(41.3310, 25.1086, 93.9172)
Luminance0.2511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95DFB #9FFB5D
analogous
#6A5DFB #B95DFB #FB5DEE
triadic
#B95DFB #FBB95D #5DFBB9
tetradic
#B95DFB #FB6A5D #9FFB5D #5DEEFB
square
#B95DFB #FB6A5D #9FFB5D #5DEEFB
split-complementary
#B95DFB #EEFB5D #5DFB6A
monochromatic
#8005D8 #9F21FA #B95DFB #D399FC #EDD4FE

Accessibility & contrast

On white

3.49
#B95DFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#B95DFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B95DFB
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95DFB#FFFFFF#000000##000000
##B95DFB1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#418AF7
Tritanopia (blue-blind)
#AF7DA4
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b95dfb;
/* rgb */ color: rgb(185, 93, 251);
/* oklch */ color: oklch(65.8% 0.231 308.1);
Tailwind
colors: {
  custom: {
    50: '#d290fd',
    500: '#b95dfb',
    950: '#000000',
  },
}
SCSS
$custom: #b95dfb;
$custom-light: #d290fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b95dfb",
  "rgb": {
    "r": 185,
    "g": 93,
    "b": 251
  },
  "hsl": {
    "h": 274.937,
    "s": 95.181,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65836,
    "c": 0.23055,
    "h": 308.1
  },
  "luminance": 0.25108
}

Semantic roles & 50–950 ramp

primary
#B95DFB
secondary
#D6F3C1
accent
#E60060
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #B95DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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