#B95DF6#B95DF6

#B95DF6 is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 65.5% C 0.225 H 309.2°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#B95DF6
RGBrgb(185, 93, 246)
HSLhsl(276, 89%, 66%)
HSVhsv(276, 62%, 96%)
CMYKcmyk(24.8%, 62.2%, 0%, 3.5%)
CIE-LABlab(56.88, 62.29, -61.92)
CIE-LCHlch(56.88, 87.83, 315.17°)
OKLaboklab(65.52% 0.1425 -0.1747)
OKLCHoklch(65.52% 0.225 309.2)
XYZxyz(40.5532, 24.7975, 89.8210)
Luminance0.2480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95DF6 #9AF65D
analogous
#6D5DF6 #B95DF6 #F65DE7
triadic
#B95DF6 #F6B95D #5DF6B9
tetradic
#B95DF6 #F66D5D #9AF65D #5DE7F6
square
#B95DF6 #F66D5D #9AF65D #5DE7F6
split-complementary
#B95DF6 #E7F65D #5DF66D
monochromatic
#800BCD #A023F3 #B95DF6 #D297F9 #EBD1FC

Accessibility & contrast

On white

3.52
#B95DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#B95DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B95DF6
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95DF6#FFFFFF#000000##000000
##B95DF61.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0185FB
Deuteranopia (green-blind)
#478AF2
Tritanopia (blue-blind)
#B07CA1
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b95df6;
/* rgb */ color: rgb(185, 93, 246);
/* oklch */ color: oklch(65.5% 0.225 309.2);
Tailwind
colors: {
  custom: {
    50: '#d290fa',
    500: '#b95df6',
    950: '#000000',
  },
}
SCSS
$custom: #b95df6;
$custom-light: #d290fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b95df6",
  "rgb": {
    "r": 185,
    "g": 93,
    "b": 246
  },
  "hsl": {
    "h": 276.078,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65519,
    "c": 0.22547,
    "h": 309.2
  },
  "luminance": 0.24797
}

Semantic roles & 50–950 ramp

primary
#B95DF6
secondary
#D2F0BF
accent
#E6005C
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #B95DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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