#CB54BA#CB54BA

#CB54BA is a light, vivid purple. Relative luminance 0.226; OKLCH L 63.4% C 0.192 H 333.5°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#CB54BA
RGBrgb(203, 84, 186)
HSLhsl(309, 53%, 56%)
HSVhsv(309, 59%, 80%)
CMYKcmyk(0%, 58.6%, 8.4%, 20.4%)
CIE-LABlab(54.64, 59.47, -31.34)
CIE-LCHlch(54.64, 67.22, 332.22°)
OKLaboklab(63.38% 0.1714 -0.0854)
OKLCHoklch(63.38% 0.192 333.5)
XYZxyz(36.6619, 22.5850, 48.8732)
Luminance0.2258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB54BA #54CB65
analogous
#A154CB #CB54BA #CB547F
triadic
#CB54BA #BACB54 #54BACB
tetradic
#CB54BA #CBA154 #54CB65 #547FCB
square
#CB54BA #CBA154 #54CB65 #547FCB
split-complementary
#CB54BA #7FCB54 #54CBA1
monochromatic
#7E2672 #AD359C #CB54BA #D983CD #E8B2E0

Accessibility & contrast

On white

3.81
#CB54BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#CB54BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB54BA
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB54BA#FFFFFF#000000##000000
##CB54BA1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5278BD
Deuteranopia (green-blind)
#7789B7
Tritanopia (blue-blind)
#D45C7F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cb54ba;
/* rgb */ color: rgb(203, 84, 186);
/* oklch */ color: oklch(63.4% 0.192 333.5);
Tailwind
colors: {
  custom: {
    50: '#de8bcf',
    500: '#cb54ba',
    950: '#000000',
  },
}
SCSS
$custom: #cb54ba;
$custom-light: #de8bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb54ba",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 186
  },
  "hsl": {
    "h": 308.571,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63377,
    "c": 0.19153,
    "h": 333.5
  },
  "luminance": 0.22582
}

Semantic roles & 50–950 ramp

primary
#CB54BA
secondary
#A5D6AC
accent
#DD604B
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #CB54BA

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

Preview Lab → · Contrast checker → · Palette generator →

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