#B95CEF#B95CEF

#B95CEF is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 65.0% C 0.220 H 310.9°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B95CEF
RGBrgb(185, 92, 239)
HSLhsl(278, 82%, 65%)
HSVhsv(278, 62%, 94%)
CMYKcmyk(22.6%, 61.5%, 0%, 6.3%)
CIE-LABlab(56.29, 61.26, -58.97)
CIE-LCHlch(56.29, 85.03, 316.09°)
OKLaboklab(64.96% 0.1438 -0.1661)
OKLCHoklch(64.96% 0.22 310.9)
XYZxyz(39.4118, 24.2014, 84.2398)
Luminance0.2420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95CEF #92EF5C
analogous
#6F5CEF #B95CEF #EF5CDC
triadic
#B95CEF #EFB95C #5CEFB9
tetradic
#B95CEF #EF6F5C #92EF5C #5CDCEF
square
#B95CEF #EF6F5C #92EF5C #5CDCEF
split-complementary
#B95CEF #DCEF5C #5CEF6F
monochromatic
#7F13BE #A124EA #B95CEF #D194F4 #E9CBFA

Accessibility & contrast

On white

3.60
#B95CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#B95CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B95CEF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95CEF#FFFFFF#000000##000000
##B95CEF1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1983F4
Deuteranopia (green-blind)
#4D89EC
Tritanopia (blue-blind)
#B2789D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b95cef;
/* rgb */ color: rgb(185, 92, 239);
/* oklch */ color: oklch(65.0% 0.220 310.9);
Tailwind
colors: {
  custom: {
    50: '#d28ff5',
    500: '#b95cef',
    950: '#000000',
  },
}
SCSS
$custom: #b95cef;
$custom-light: #d28ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#b95cef",
  "rgb": {
    "r": 185,
    "g": 92,
    "b": 239
  },
  "hsl": {
    "h": 277.959,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6496,
    "c": 0.21971,
    "h": 310.9
  },
  "luminance": 0.24201
}

Semantic roles & 50–950 ramp

primary
#B95CEF
secondary
#CDECBA
accent
#DF0756
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B95CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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