#B552E7#B552E7

#B552E7 is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.8% C 0.224 H 312.3°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B552E7
RGBrgb(181, 82, 231)
HSLhsl(280, 76%, 61%)
HSVhsv(280, 65%, 91%)
CMYKcmyk(21.6%, 64.5%, 0%, 9.4%)
CIE-LABlab(53.63, 63.28, -58.78)
CIE-LCHlch(53.63, 86.37, 317.11°)
OKLaboklab(62.78% 0.1506 -0.1656)
OKLCHoklch(62.78% 0.224 312.3)
XYZxyz(36.4946, 21.6288, 77.8381)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B552E7 #84E752
analogous
#6B52E7 #B552E7 #E752CF
triadic
#B552E7 #E7B552 #52E7B5
tetradic
#B552E7 #E76B52 #84E752 #52CFE7
square
#B552E7 #E76B52 #84E752 #52CFE7
split-complementary
#B552E7 #CFE752 #52E76B
monochromatic
#7717A7 #9D1FDD #B552E7 #CC88EE #E3BDF6

Accessibility & contrast

On white

3.94
#B552E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#B552E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B552E7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B552E7#FFFFFF#000000##000000
##B552E71.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEC
Deuteranopia (green-blind)
#4582E4
Tritanopia (blue-blind)
#AF6F96
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b552e7;
/* rgb */ color: rgb(181, 82, 231);
/* oklch */ color: oklch(62.8% 0.224 312.3);
Tailwind
colors: {
  custom: {
    50: '#cf89ef',
    500: '#b552e7',
    950: '#000000',
  },
}
SCSS
$custom: #b552e7;
$custom-light: #cf89ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b552e7",
  "rgb": {
    "r": 181,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 279.866,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.62778,
    "c": 0.22384,
    "h": 312.3
  },
  "luminance": 0.21628
}

Semantic roles & 50–950 ramp

primary
#B552E7
secondary
#C1E6AF
accent
#D80E52
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B552E7

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

Preview Lab → · Contrast checker → · Palette generator →

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