#B95DF7#B95DF7

#B95DF7 is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.6% C 0.226 H 309.0°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B95DF7
RGBrgb(185, 93, 247)
HSLhsl(276, 91%, 67%)
HSVhsv(276, 62%, 97%)
CMYKcmyk(25.1%, 62.3%, 0%, 3.1%)
CIE-LABlab(56.94, 62.50, -62.38)
CIE-LCHlch(56.94, 88.31, 315.06°)
OKLaboklab(65.58% 0.1424 -0.1761)
OKLCHoklch(65.58% 0.226 309)
XYZxyz(40.7071, 24.8591, 90.6315)
Luminance0.2486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95DF7 #9BF75D
analogous
#6C5DF7 #B95DF7 #F75DE8
triadic
#B95DF7 #F7B95D #5DF7B9
tetradic
#B95DF7 #F76C5D #9BF75D #5DE8F7
square
#B95DF7 #F76C5D #9BF75D #5DE8F7
split-complementary
#B95DF7 #E8F75D #5DF76C
monochromatic
#800ACF #A023F4 #B95DF7 #D297FA #EBD2FD

Accessibility & contrast

On white

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

On black

5.97
#B95DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B95DF7
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95DF7#FFFFFF#000000##000000
##B95DF71.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FC
Deuteranopia (green-blind)
#468AF3
Tritanopia (blue-blind)
#B07CA2
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b95df7;
/* rgb */ color: rgb(185, 93, 247);
/* oklch */ color: oklch(65.6% 0.226 309.0);
Tailwind
colors: {
  custom: {
    50: '#d290fb',
    500: '#b95df7',
    950: '#000000',
  },
}
SCSS
$custom: #b95df7;
$custom-light: #d290fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b95df7",
  "rgb": {
    "r": 185,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 275.844,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65582,
    "c": 0.22648,
    "h": 309
  },
  "luminance": 0.24858
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B95DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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