#B552ED#B552ED

#B552ED is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 63.2% C 0.230 H 310.9°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B552ED
RGBrgb(181, 82, 237)
HSLhsl(278, 81%, 63%)
HSVhsv(278, 65%, 93%)
CMYKcmyk(23.6%, 65.4%, 0%, 7.1%)
CIE-LABlab(54.00, 64.53, -61.55)
CIE-LCHlch(54.00, 89.18, 316.35°)
OKLaboklab(63.16% 0.1503 -0.1737)
OKLCHoklch(63.16% 0.23 310.9)
XYZxyz(37.3565, 21.9736, 82.3778)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B552ED #8AED52
analogous
#6852ED #B552ED #ED52D7
triadic
#B552ED #EDB552 #52EDB5
tetradic
#B552ED #ED6852 #8AED52 #52D7ED
square
#B552ED #ED6852 #8AED52 #52D7ED
split-complementary
#B552ED #D7ED52 #52ED68
monochromatic
#7813B2 #9D1BE7 #B552ED #CD89F3 #E4C1F9

Accessibility & contrast

On white

3.89
#B552ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#B552ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B552ED
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B552ED#FFFFFF#000000##000000
##B552ED1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF2
Deuteranopia (green-blind)
#3F83E9
Tritanopia (blue-blind)
#AE7299
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b552ed;
/* rgb */ color: rgb(181, 82, 237);
/* oklch */ color: oklch(63.2% 0.230 310.9);
Tailwind
colors: {
  custom: {
    50: '#cf89f4',
    500: '#b552ed',
    950: '#000000',
  },
}
SCSS
$custom: #b552ed;
$custom-light: #cf89f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b552ed",
  "rgb": {
    "r": 181,
    "g": 82,
    "b": 237
  },
  "hsl": {
    "h": 278.323,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63161,
    "c": 0.2297,
    "h": 310.9
  },
  "luminance": 0.21973
}

Semantic roles & 50–950 ramp

primary
#B552ED
secondary
#C6EAB1
accent
#DE0855
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B552ED

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

Preview Lab → · Contrast checker → · Palette generator →

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