#B95CFE#B95CFE

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

Color values

HEX#B95CFE
RGBrgb(185, 92, 254)
HSLhsl(274, 99%, 68%)
HSVhsv(274, 64%, 100%)
CMYKcmyk(27.2%, 63.8%, 0%, 0.4%)
CIE-LABlab(57.20, 64.49, -65.84)
CIE-LCHlch(57.20, 92.16, 314.40°)
OKLaboklab(65.91% 0.1432 -0.1862)
OKLCHoklch(65.91% 0.235 307.5)
XYZxyz(41.7204, 25.1249, 96.3985)
Luminance0.2512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95CFE #A1FE5C
analogous
#685CFE #B95CFE #FE5CF2
triadic
#B95CFE #FEB95C #5CFEB9
tetradic
#B95CFE #FE685C #A1FE5C #5CF2FE
square
#B95CFE #FE685C #A1FE5C #5CF2FE
split-complementary
#B95CFE #F2FE5C #5CFE68
monochromatic
#8001DE #9F1FFE #B95CFE #D399FE #EDD6FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B95CFE#FFFFFF#000000##000000
##B95CFE1.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)
#3B8AFA
Tritanopia (blue-blind)
#AE7EA5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b95cfe;
/* rgb */ color: rgb(185, 92, 254);
/* oklch */ color: oklch(65.9% 0.235 307.5);
Tailwind
colors: {
  custom: {
    50: '#d28fff',
    500: '#b95cfe',
    950: '#000000',
  },
}
SCSS
$custom: #b95cfe;
$custom-light: #d28fff;
$custom-dark: #000000;
JSON
{
  "hex": "#b95cfe",
  "rgb": {
    "r": 185,
    "g": 92,
    "b": 254
  },
  "hsl": {
    "h": 274.444,
    "s": 98.78,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65906,
    "c": 0.23491,
    "h": 307.5
  },
  "luminance": 0.25124
}

Semantic roles & 50–950 ramp

primary
#B95CFE
secondary
#D7F4C2
accent
#E60062
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #B95CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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