#B95AEF#B95AEF

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

Color values

HEX#B95AEF
RGBrgb(185, 90, 239)
HSLhsl(278, 82%, 65%)
HSVhsv(278, 62%, 94%)
CMYKcmyk(22.6%, 62.3%, 0%, 6.3%)
CIE-LABlab(55.95, 62.19, -59.52)
CIE-LCHlch(55.95, 86.08, 316.26°)
OKLaboklab(64.71% 0.1462 -0.1677)
OKLCHoklch(64.71% 0.222 311.1)
XYZxyz(39.2408, 23.8595, 84.1828)
Luminance0.2386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95AEF #90EF5A
analogous
#6F5AEF #B95AEF #EF5ADA
triadic
#B95AEF #EFB95A #5AEFB9
tetradic
#B95AEF #EF6F5A #90EF5A #5ADAEF
square
#B95AEF #EF6F5A #90EF5A #5ADAEF
split-complementary
#B95AEF #DAEF5A #5AEF6F
monochromatic
#7F12BC #A122EA #B95AEF #D192F4 #E8CAFA

Accessibility & contrast

On white

3.64
#B95AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#B95AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B95AEF
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95AEF#FFFFFF#000000##000000
##B95AEF1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F82F4
Deuteranopia (green-blind)
#4B88EC
Tritanopia (blue-blind)
#B2779D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b95aef;
/* rgb */ color: rgb(185, 90, 239);
/* oklch */ color: oklch(64.7% 0.222 311.1);
Tailwind
colors: {
  custom: {
    50: '#d28ef5',
    500: '#b95aef',
    950: '#000000',
  },
}
SCSS
$custom: #b95aef;
$custom-light: #d28ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#b95aef",
  "rgb": {
    "r": 185,
    "g": 90,
    "b": 239
  },
  "hsl": {
    "h": 278.255,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64712,
    "c": 0.22244,
    "h": 311.1
  },
  "luminance": 0.23859
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B95AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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