#B95BEF#B95BEF

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

Color values

HEX#B95BEF
RGBrgb(185, 91, 239)
HSLhsl(278, 82%, 65%)
HSVhsv(278, 62%, 94%)
CMYKcmyk(22.6%, 61.9%, 0%, 6.3%)
CIE-LABlab(56.12, 61.73, -59.24)
CIE-LCHlch(56.12, 85.56, 316.18°)
OKLaboklab(64.83% 0.145 -0.1669)
OKLCHoklch(64.83% 0.221 311)
XYZxyz(39.3257, 24.0293, 84.2111)
Luminance0.2403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95BEF #91EF5B
analogous
#6F5BEF #B95BEF #EF5BDB
triadic
#B95BEF #EFB95B #5BEFB9
tetradic
#B95BEF #EF6F5B #91EF5B #5BDBEF
square
#B95BEF #EF6F5B #91EF5B #5BDBEF
split-complementary
#B95BEF #DBEF5B #5BEF6F
monochromatic
#7F12BD #A123EA #B95BEF #D193F4 #E9CBFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B95BEF#FFFFFF#000000##000000
##B95BEF1.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)
#1482F4
Deuteranopia (green-blind)
#4C88EC
Tritanopia (blue-blind)
#B2789D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b95bef;
/* rgb */ color: rgb(185, 91, 239);
/* oklch */ color: oklch(64.8% 0.221 311.0);
Tailwind
colors: {
  custom: {
    50: '#d28ef5',
    500: '#b95bef',
    950: '#000000',
  },
}
SCSS
$custom: #b95bef;
$custom-light: #d28ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#b95bef",
  "rgb": {
    "r": 185,
    "g": 91,
    "b": 239
  },
  "hsl": {
    "h": 278.108,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64835,
    "c": 0.22107,
    "h": 311
  },
  "luminance": 0.24028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B95BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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