#B95EF7#B95EF7

#B95EF7 is a light, highly saturated violet. Relative luminance 0.250; OKLCH L 65.7% C 0.225 H 308.9°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#B95EF7
RGBrgb(185, 94, 247)
HSLhsl(276, 91%, 67%)
HSVhsv(276, 62%, 97%)
CMYKcmyk(25.1%, 61.9%, 0%, 3.1%)
CIE-LABlab(57.11, 62.03, -62.10)
CIE-LCHlch(57.11, 87.78, 314.97°)
OKLaboklab(65.71% 0.1413 -0.1753)
OKLCHoklch(65.71% 0.225 308.9)
XYZxyz(40.7954, 25.0358, 90.6609)
Luminance0.2504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95EF7 #9CF75E
analogous
#6D5EF7 #B95EF7 #F75EE9
triadic
#B95EF7 #F7B95E #5EF7B9
tetradic
#B95EF7 #F76D5E #9CF75E #5EE9F7
square
#B95EF7 #F76D5E #9CF75E #5EE9F7
split-complementary
#B95EF7 #E9F75E #5EF76D
monochromatic
#800AD0 #A024F4 #B95EF7 #D298FA #ECD3FD

Accessibility & contrast

On white

3.50
#B95EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#B95EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B95EF7
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95EF7#FFFFFF#000000##000000
##B95EF71.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0485FC
Deuteranopia (green-blind)
#478AF3
Tritanopia (blue-blind)
#B07DA2
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b95ef7;
/* rgb */ color: rgb(185, 94, 247);
/* oklch */ color: oklch(65.7% 0.225 308.9);
Tailwind
colors: {
  custom: {
    50: '#d290fb',
    500: '#b95ef7',
    950: '#000000',
  },
}
SCSS
$custom: #b95ef7;
$custom-light: #d290fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b95ef7",
  "rgb": {
    "r": 185,
    "g": 94,
    "b": 247
  },
  "hsl": {
    "h": 275.686,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65707,
    "c": 0.22514,
    "h": 308.9
  },
  "luminance": 0.25035
}

Semantic roles & 50–950 ramp

primary
#B95EF7
secondary
#D4F1C0
accent
#E6005D
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #B95EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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