#B552E9#B552E9

#B552E9 is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.9% C 0.226 H 311.8°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B552E9
RGBrgb(181, 82, 233)
HSLhsl(279, 77%, 62%)
HSVhsv(279, 65%, 91%)
CMYKcmyk(22.3%, 64.8%, 0%, 8.6%)
CIE-LABlab(53.75, 63.69, -59.71)
CIE-LCHlch(53.75, 87.30, 316.85°)
OKLaboklab(62.91% 0.1505 -0.1683)
OKLCHoklch(62.91% 0.226 311.8)
XYZxyz(36.7786, 21.7425, 79.3343)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B552E9 #86E952
analogous
#6A52E9 #B552E9 #E952D1
triadic
#B552E9 #E9B552 #52E9B5
tetradic
#B552E9 #E96A52 #86E952 #52D1E9
square
#B552E9 #E96A52 #86E952 #52D1E9
split-complementary
#B552E9 #D1E952 #52E96A
monochromatic
#7816AB #9D1DE1 #B552E9 #CC88F0 #E3BFF7

Accessibility & contrast

On white

3.93
#B552E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#B552E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B552E9
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B552E9#FFFFFF#000000##000000
##B552E91.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEE
Deuteranopia (green-blind)
#4382E6
Tritanopia (blue-blind)
#AF7097
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b552e9;
/* rgb */ color: rgb(181, 82, 233);
/* oklch */ color: oklch(62.9% 0.226 311.8);
Tailwind
colors: {
  custom: {
    50: '#cf89f1',
    500: '#b552e9',
    950: '#000000',
  },
}
SCSS
$custom: #b552e9;
$custom-light: #cf89f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b552e9",
  "rgb": {
    "r": 181,
    "g": 82,
    "b": 233
  },
  "hsl": {
    "h": 279.338,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.62905,
    "c": 0.22579,
    "h": 311.8
  },
  "luminance": 0.21742
}

Semantic roles & 50–950 ramp

primary
#B552E9
secondary
#C3E7AF
accent
#DA0C53
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B552E9

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

Preview Lab → · Contrast checker → · Palette generator →

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