#B95AEC#B95AEC

#B95AEC is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.5% C 0.219 H 311.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B95AEC
RGBrgb(185, 90, 236)
HSLhsl(279, 79%, 64%)
HSVhsv(279, 62%, 93%)
CMYKcmyk(21.6%, 61.9%, 0%, 7.5%)
CIE-LABlab(55.77, 61.56, -58.12)
CIE-LCHlch(55.77, 84.67, 316.65°)
OKLaboklab(64.53% 0.1462 -0.1636)
OKLCHoklch(64.53% 0.219 311.8)
XYZxyz(38.8013, 23.6837, 81.8680)
Luminance0.2368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95AEC #8DEC5A
analogous
#705AEC #B95AEC #EC5AD6
triadic
#B95AEC #ECB95A #5AECB9
tetradic
#B95AEC #EC705A #8DEC5A #5AD6EC
square
#B95AEC #EC705A #8DEC5A #5AD6EC
split-complementary
#B95AEC #D6EC5A #5AEC70
monochromatic
#7E15B7 #A223E6 #B95AEC #D091F2 #E8C8F9

Accessibility & contrast

On white

3.66
#B95AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#B95AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B95AEC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95AEC#FFFFFF#000000##000000
##B95AEC1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1981F1
Deuteranopia (green-blind)
#4D88E9
Tritanopia (blue-blind)
#B3769B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b95aec;
/* rgb */ color: rgb(185, 90, 236);
/* oklch */ color: oklch(64.5% 0.219 311.8);
Tailwind
colors: {
  custom: {
    50: '#d28ef3',
    500: '#b95aec',
    950: '#000000',
  },
}
SCSS
$custom: #b95aec;
$custom-light: #d28ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#b95aec",
  "rgb": {
    "r": 185,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 279.041,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64527,
    "c": 0.21943,
    "h": 311.8
  },
  "luminance": 0.23683
}

Semantic roles & 50–950 ramp

primary
#B95AEC
secondary
#C9EBB7
accent
#DC0A53
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B95AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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