#CB4EB7#CB4EB7

#CB4EB7 is a light, vivid purple. Relative luminance 0.216; OKLCH L 62.5% C 0.198 H 334.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#CB4EB7
RGBrgb(203, 78, 183)
HSLhsl(310, 55%, 55%)
HSVhsv(310, 62%, 80%)
CMYKcmyk(0%, 61.6%, 9.9%, 20.4%)
CIE-LABlab(53.56, 61.58, -31.28)
CIE-LCHlch(53.56, 69.07, 333.07°)
OKLaboklab(62.54% 0.1785 -0.0852)
OKLCHoklch(62.54% 0.198 334.5)
XYZxyz(35.9005, 21.5670, 47.0626)
Luminance0.2156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4EB7 #4ECB62
analogous
#A04ECB #CB4EB7 #CB4E78
triadic
#CB4EB7 #B7CB4E #4EB7CB
tetradic
#CB4EB7 #CBA04E #4ECB62 #4E78CB
square
#CB4EB7 #CBA04E #4ECB62 #4E78CB
split-complementary
#CB4EB7 #78CB4E #4ECBA0
monochromatic
#7B246D #AA3297 #CB4EB7 #D97DCA #E7ADDD

Accessibility & contrast

On white

3.95
#CB4EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#CB4EB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4EB7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4EB7#FFFFFF#000000##000000
##CB4EB71.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D74BA
Deuteranopia (green-blind)
#7587B4
Tritanopia (blue-blind)
#D4567B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cb4eb7;
/* rgb */ color: rgb(203, 78, 183);
/* oklch */ color: oklch(62.5% 0.198 334.5);
Tailwind
colors: {
  custom: {
    50: '#de87cd',
    500: '#cb4eb7',
    950: '#000000',
  },
}
SCSS
$custom: #cb4eb7;
$custom-light: #de87cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4eb7",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 183
  },
  "hsl": {
    "h": 309.6,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62544,
    "c": 0.19783,
    "h": 334.5
  },
  "luminance": 0.21564
}

Semantic roles & 50–950 ramp

primary
#CB4EB7
secondary
#A0D5A9
accent
#DE624A
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CB4EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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