#B552CC#B552CC

#B552CC is a mid, vivid purple. Relative luminance 0.202; OKLCH L 61.2% C 0.198 H 319.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B552CC
RGBrgb(181, 82, 204)
HSLhsl(289, 54%, 56%)
HSVhsv(289, 60%, 80%)
CMYKcmyk(11.3%, 59.8%, 0%, 20%)
CIE-LABlab(52.08, 57.85, -45.92)
CIE-LCHlch(52.08, 73.86, 321.56°)
OKLaboklab(61.16% 0.1508 -0.128)
OKLCHoklch(61.16% 0.198 319.7)
XYZxyz(32.9711, 20.2194, 59.2810)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B552CC #69CC52
analogous
#7852CC #B552CC #CC52A6
triadic
#B552CC #CCB552 #52CCB5
tetradic
#B552CC #CC7852 #69CC52 #52A6CC
square
#B552CC #CC7852 #69CC52 #52A6CC
split-complementary
#B552CC #A6CC52 #52CC78
monochromatic
#6E257E #9733AE #B552CC #C981DA #DDB1E8

Accessibility & contrast

On white

4.16
#B552CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#B552CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B552CC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B552CC#FFFFFF#000000##000000
##B552CC1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3575D0
Deuteranopia (green-blind)
#5B80C9
Tritanopia (blue-blind)
#B66587
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b552cc;
/* rgb */ color: rgb(181, 82, 204);
/* oklch */ color: oklch(61.2% 0.198 319.7);
Tailwind
colors: {
  custom: {
    50: '#ce88dc',
    500: '#b552cc',
    950: '#000000',
  },
}
SCSS
$custom: #b552cc;
$custom-light: #ce88dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b552cc",
  "rgb": {
    "r": 181,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 288.689,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61161,
    "c": 0.19784,
    "h": 319.7
  },
  "luminance": 0.20218
}

Semantic roles & 50–950 ramp

primary
#B552CC
secondary
#ADD6A4
accent
#DE4A66
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B552CC

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

Preview Lab → · Contrast checker → · Palette generator →

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