#B95CEB#B95CEB

#B95CEB is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.7% C 0.216 H 311.9°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#B95CEB
RGBrgb(185, 92, 235)
HSLhsl(279, 78%, 64%)
HSVhsv(279, 61%, 92%)
CMYKcmyk(21.3%, 60.9%, 0%, 7.8%)
CIE-LABlab(56.06, 60.41, -57.11)
CIE-LCHlch(56.06, 83.13, 316.61°)
OKLaboklab(64.72% 0.1439 -0.1606)
OKLCHoklch(64.72% 0.216 311.9)
XYZxyz(38.8274, 23.9677, 81.1620)
Luminance0.2397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95CEB #8EEB5C
analogous
#725CEB #B95CEB #EB5CD6
triadic
#B95CEB #EBB95C #5CEBB9
tetradic
#B95CEB #EB725C #8EEB5C #5CD6EB
square
#B95CEB #EB725C #8EEB5C #5CD6EB
split-complementary
#B95CEB #D6EB5C #5CEB72
monochromatic
#7E16B6 #A225E4 #B95CEB #D093F2 #E8C9F8

Accessibility & contrast

On white

3.62
#B95CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#B95CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B95CEB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95CEB#FFFFFF#000000##000000
##B95CEB1.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2282EF
Deuteranopia (green-blind)
#5088E8
Tritanopia (blue-blind)
#B3779B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b95ceb;
/* rgb */ color: rgb(185, 92, 235);
/* oklch */ color: oklch(64.7% 0.216 311.9);
Tailwind
colors: {
  custom: {
    50: '#d28ff2',
    500: '#b95ceb',
    950: '#000000',
  },
}
SCSS
$custom: #b95ceb;
$custom-light: #d28ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#b95ceb",
  "rgb": {
    "r": 185,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 279.021,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64715,
    "c": 0.21567,
    "h": 311.9
  },
  "luminance": 0.23967
}

Semantic roles & 50–950 ramp

primary
#B95CEB
secondary
#CAEAB8
accent
#DA0B54
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B95CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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