#B95BEE#B95BEE

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

Color values

HEX#B95BEE
RGBrgb(185, 91, 238)
HSLhsl(278, 81%, 65%)
HSVhsv(278, 62%, 93%)
CMYKcmyk(22.3%, 61.8%, 0%, 6.7%)
CIE-LABlab(56.06, 61.52, -58.78)
CIE-LCHlch(56.06, 85.08, 316.30°)
OKLaboklab(64.77% 0.145 -0.1655)
OKLCHoklch(64.77% 0.22 311.2)
XYZxyz(39.1784, 23.9704, 83.4352)
Luminance0.2397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95BEE #90EE5B
analogous
#705BEE #B95BEE #EE5BDA
triadic
#B95BEE #EEB95B #5BEEB9
tetradic
#B95BEE #EE705B #90EE5B #5BDAEE
square
#B95BEE #EE705B #90EE5B #5BDAEE
split-complementary
#B95BEE #DAEE5B #5BEE70
monochromatic
#7F13BB #A124E8 #B95BEE #D192F4 #E8CAF9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B95BEE#FFFFFF#000000##000000
##B95BEE1.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)
#1782F3
Deuteranopia (green-blind)
#4D88EB
Tritanopia (blue-blind)
#B3779C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b95bee;
/* rgb */ color: rgb(185, 91, 238);
/* oklch */ color: oklch(64.8% 0.220 311.2);
Tailwind
colors: {
  custom: {
    50: '#d28ef4',
    500: '#b95bee',
    950: '#000000',
  },
}
SCSS
$custom: #b95bee;
$custom-light: #d28ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#b95bee",
  "rgb": {
    "r": 185,
    "g": 91,
    "b": 238
  },
  "hsl": {
    "h": 278.367,
    "s": 81.215,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64773,
    "c": 0.22007,
    "h": 311.2
  },
  "luminance": 0.2397
}

Semantic roles & 50–950 ramp

primary
#B95BEE
secondary
#CBECB9
accent
#DE0855
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B95BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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