#B95CEC#B95CEC

#B95CEC is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.8% C 0.217 H 311.6°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B95CEC
RGBrgb(185, 92, 236)
HSLhsl(279, 79%, 64%)
HSVhsv(279, 61%, 93%)
CMYKcmyk(21.6%, 61%, 0%, 7.5%)
CIE-LABlab(56.11, 60.62, -57.57)
CIE-LCHlch(56.11, 83.61, 316.48°)
OKLaboklab(64.78% 0.1439 -0.162)
OKLCHoklch(64.78% 0.217 311.6)
XYZxyz(38.9723, 24.0256, 81.9250)
Luminance0.2402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95CEC #8FEC5C
analogous
#715CEC #B95CEC #EC5CD7
triadic
#B95CEC #ECB95C #5CECB9
tetradic
#B95CEC #EC715C #8FEC5C #5CD7EC
square
#B95CEC #EC715C #8FEC5C #5CD7EC
split-complementary
#B95CEC #D7EC5C #5CEC71
monochromatic
#7F15B8 #A125E6 #B95CEC #D193F2 #E8CAF9

Accessibility & contrast

On white

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

On black

5.81
#B95CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B95CEC
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95CEC#FFFFFF#000000##000000
##B95CEC1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2082F0
Deuteranopia (green-blind)
#4F88E9
Tritanopia (blue-blind)
#B3779C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b95cec;
/* rgb */ color: rgb(185, 92, 236);
/* oklch */ color: oklch(64.8% 0.217 311.6);
Tailwind
colors: {
  custom: {
    50: '#d28ff3',
    500: '#b95cec',
    950: '#000000',
  },
}
SCSS
$custom: #b95cec;
$custom-light: #d28ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#b95cec",
  "rgb": {
    "r": 185,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 278.75,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64776,
    "c": 0.21667,
    "h": 311.6
  },
  "luminance": 0.24025
}

Semantic roles & 50–950 ramp

primary
#B95CEC
secondary
#CBEBB9
accent
#DB0A54
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B95CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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