#B95DF4#B95DF4

#B95DF4 is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.4% C 0.223 H 309.6°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#B95DF4
RGBrgb(185, 93, 244)
HSLhsl(277, 87%, 66%)
HSVhsv(277, 62%, 96%)
CMYKcmyk(24.2%, 61.9%, 0%, 4.3%)
CIE-LABlab(56.76, 61.86, -61.00)
CIE-LCHlch(56.76, 86.88, 315.40°)
OKLaboklab(65.39% 0.1425 -0.172)
OKLCHoklch(65.39% 0.223 309.6)
XYZxyz(40.2479, 24.6754, 88.2130)
Luminance0.2467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95DF4 #98F45D
analogous
#6D5DF4 #B95DF4 #F45DE4
triadic
#B95DF4 #F4B95D #5DF4B9
tetradic
#B95DF4 #F46D5D #98F45D #5DE4F4
square
#B95DF4 #F46D5D #98F45D #5DE4F4
split-complementary
#B95DF4 #E4F45D #5DF46D
monochromatic
#800EC9 #A024F0 #B95DF4 #D296F8 #EBD0FC

Accessibility & contrast

On white

3.54
#B95DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#B95DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B95DF4
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95DF4#FFFFFF#000000##000000
##B95DF41.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C84F9
Deuteranopia (green-blind)
#498AF0
Tritanopia (blue-blind)
#B17BA0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b95df4;
/* rgb */ color: rgb(185, 93, 244);
/* oklch */ color: oklch(65.4% 0.223 309.6);
Tailwind
colors: {
  custom: {
    50: '#d290f8',
    500: '#b95df4',
    950: '#000000',
  },
}
SCSS
$custom: #b95df4;
$custom-light: #d290f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b95df4",
  "rgb": {
    "r": 185,
    "g": 93,
    "b": 244
  },
  "hsl": {
    "h": 276.556,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65394,
    "c": 0.22343,
    "h": 309.6
  },
  "luminance": 0.24675
}

Semantic roles & 50–950 ramp

primary
#B95DF4
secondary
#D1EFBE
accent
#E4025A
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B95DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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