#B95CEA#B95CEA

#B95CEA is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.7% C 0.215 H 312.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B95CEA
RGBrgb(185, 92, 234)
HSLhsl(279, 77%, 64%)
HSVhsv(279, 61%, 92%)
CMYKcmyk(20.9%, 60.7%, 0%, 8.2%)
CIE-LABlab(56.00, 60.20, -56.64)
CIE-LCHlch(56.00, 82.66, 316.75°)
OKLaboklab(64.66% 0.1439 -0.1593)
OKLCHoklch(64.66% 0.215 312.1)
XYZxyz(38.6834, 23.9101, 80.4033)
Luminance0.2391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95CEA #8DEA5C
analogous
#725CEA #B95CEA #EA5CD4
triadic
#B95CEA #EAB95C #5CEAB9
tetradic
#B95CEA #EA725C #8DEA5C #5CD4EA
square
#B95CEA #EA725C #8DEA5C #5CD4EA
split-complementary
#B95CEA #D4EA5C #5CEA72
monochromatic
#7E17B4 #A226E3 #B95CEA #D092F1 #E8C8F8

Accessibility & contrast

On white

3.63
#B95CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#B95CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B95CEA
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95CEA#FFFFFF#000000##000000
##B95CEA1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2481EE
Deuteranopia (green-blind)
#5188E7
Tritanopia (blue-blind)
#B4779B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b95cea;
/* rgb */ color: rgb(185, 92, 234);
/* oklch */ color: oklch(64.7% 0.215 312.1);
Tailwind
colors: {
  custom: {
    50: '#d18ff1',
    500: '#b95cea',
    950: '#000000',
  },
}
SCSS
$custom: #b95cea;
$custom-light: #d18ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#b95cea",
  "rgb": {
    "r": 185,
    "g": 92,
    "b": 234
  },
  "hsl": {
    "h": 279.296,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64655,
    "c": 0.21466,
    "h": 312.1
  },
  "luminance": 0.23909
}

Semantic roles & 50–950 ramp

primary
#B95CEA
secondary
#C9EAB8
accent
#D90C53
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B95CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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