#B15AEC#B15AEC

#B15AEC is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.6% C 0.217 H 309.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B15AEC
RGBrgb(177, 90, 236)
HSLhsl(276, 79%, 64%)
HSVhsv(276, 62%, 93%)
CMYKcmyk(25%, 61.9%, 0%, 7.5%)
CIE-LABlab(54.78, 59.75, -59.77)
CIE-LCHlch(54.78, 84.51, 314.99°)
OKLaboklab(63.6% 0.1364 -0.1686)
OKLCHoklch(63.6% 0.217 309)
XYZxyz(36.9249, 22.7162, 81.7801)
Luminance0.2272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15AEC #95EC5A
analogous
#685AEC #B15AEC #EC5ADE
triadic
#B15AEC #ECB15A #5AECB1
tetradic
#B15AEC #EC685A #95EC5A #5ADEEC
square
#B15AEC #EC685A #95EC5A #5ADEEC
split-complementary
#B15AEC #DEEC5A #5AEC68
monochromatic
#7515B7 #9723E6 #B15AEC #CB91F2 #E5C8F9

Accessibility & contrast

On white

3.79
#B15AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#B15AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15AEC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15AEC#FFFFFF#000000##000000
##B15AEC1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#097FF1
Deuteranopia (green-blind)
#4484E9
Tritanopia (blue-blind)
#A9779B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b15aec;
/* rgb */ color: rgb(177, 90, 236);
/* oklch */ color: oklch(63.6% 0.217 309.0);
Tailwind
colors: {
  custom: {
    50: '#cc8df3',
    500: '#b15aec',
    950: '#000000',
  },
}
SCSS
$custom: #b15aec;
$custom-light: #cc8df3;
$custom-dark: #000000;
JSON
{
  "hex": "#b15aec",
  "rgb": {
    "r": 177,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 275.753,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63597,
    "c": 0.21687,
    "h": 309
  },
  "luminance": 0.22716
}

Semantic roles & 50–950 ramp

primary
#B15AEC
secondary
#CCEBB7
accent
#DC0A5F
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140D17
muted
#837D85

Preview Lab

Preview with #B15AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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