#B95DF5#B95DF5

#B95DF5 is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.5% C 0.224 H 309.4°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B95DF5
RGBrgb(185, 93, 245)
HSLhsl(276, 88%, 66%)
HSVhsv(276, 62%, 96%)
CMYKcmyk(24.5%, 62%, 0%, 3.9%)
CIE-LABlab(56.82, 62.07, -61.46)
CIE-LCHlch(56.82, 87.35, 315.28°)
OKLaboklab(65.46% 0.1425 -0.1734)
OKLCHoklch(65.46% 0.224 309.4)
XYZxyz(40.4001, 24.7363, 89.0148)
Luminance0.2474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95DF5 #99F55D
analogous
#6D5DF5 #B95DF5 #F55DE5
triadic
#B95DF5 #F5B95D #5DF5B9
tetradic
#B95DF5 #F56D5D #99F55D #5DE5F5
square
#B95DF5 #F56D5D #99F55D #5DE5F5
split-complementary
#B95DF5 #E5F55D #5DF56D
monochromatic
#800DCB #A023F1 #B95DF5 #D297F9 #EBD0FC

Accessibility & contrast

On white

3.53
#B95DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#B95DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B95DF5
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95DF5#FFFFFF#000000##000000
##B95DF51.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0784FA
Deuteranopia (green-blind)
#488AF1
Tritanopia (blue-blind)
#B17BA1
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b95df5;
/* rgb */ color: rgb(185, 93, 245);
/* oklch */ color: oklch(65.5% 0.224 309.4);
Tailwind
colors: {
  custom: {
    50: '#d290f9',
    500: '#b95df5',
    950: '#000000',
  },
}
SCSS
$custom: #b95df5;
$custom-light: #d290f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b95df5",
  "rgb": {
    "r": 185,
    "g": 93,
    "b": 245
  },
  "hsl": {
    "h": 276.316,
    "s": 88.372,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65457,
    "c": 0.22445,
    "h": 309.4
  },
  "luminance": 0.24736
}

Semantic roles & 50–950 ramp

primary
#B95DF5
secondary
#D2F0BE
accent
#E5015B
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #B95DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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