#B95AEB#B95AEB

#B95AEB is a light, highly saturated violet. Relative luminance 0.236; OKLCH L 64.5% C 0.218 H 312.0°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B95AEB
RGBrgb(185, 90, 235)
HSLhsl(279, 78%, 64%)
HSVhsv(279, 62%, 92%)
CMYKcmyk(21.3%, 61.7%, 0%, 7.8%)
CIE-LABlab(55.71, 61.35, -57.66)
CIE-LCHlch(55.71, 84.19, 316.78°)
OKLaboklab(64.47% 0.1463 -0.1622)
OKLCHoklch(64.47% 0.218 312)
XYZxyz(38.6564, 23.6257, 81.1050)
Luminance0.2362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95AEB #8CEB5A
analogous
#705AEB #B95AEB #EB5AD5
triadic
#B95AEB #EBB95A #5AEBB9
tetradic
#B95AEB #EB705A #8CEB5A #5AD5EB
square
#B95AEB #EB705A #8CEB5A #5AD5EB
split-complementary
#B95AEB #D5EB5A #5AEB70
monochromatic
#7E16B5 #A223E4 #B95AEB #D091F2 #E7C7F8

Accessibility & contrast

On white

3.67
#B95AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#B95AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B95AEB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95AEB#FFFFFF#000000##000000
##B95AEB1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C81EF
Deuteranopia (green-blind)
#4E87E8
Tritanopia (blue-blind)
#B3769A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b95aeb;
/* rgb */ color: rgb(185, 90, 235);
/* oklch */ color: oklch(64.5% 0.218 312.0);
Tailwind
colors: {
  custom: {
    50: '#d28ef2',
    500: '#b95aeb',
    950: '#000000',
  },
}
SCSS
$custom: #b95aeb;
$custom-light: #d28ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#b95aeb",
  "rgb": {
    "r": 185,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 279.31,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64466,
    "c": 0.21843,
    "h": 312
  },
  "luminance": 0.23625
}

Semantic roles & 50–950 ramp

primary
#B95AEB
secondary
#C8EAB7
accent
#DB0B53
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B95AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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