#CB4FB7#CB4FB7

#CB4FB7 is a light, vivid purple. Relative luminance 0.217; OKLCH L 62.7% C 0.196 H 334.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#CB4FB7
RGBrgb(203, 79, 183)
HSLhsl(310, 54%, 55%)
HSVhsv(310, 61%, 80%)
CMYKcmyk(0%, 61.1%, 9.9%, 20.4%)
CIE-LABlab(53.72, 61.16, -31.04)
CIE-LCHlch(53.72, 68.59, 333.09°)
OKLaboklab(62.66% 0.1773 -0.0845)
OKLCHoklch(62.66% 0.196 334.5)
XYZxyz(35.9720, 21.7102, 47.0864)
Luminance0.2171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4FB7 #4FCB63
analogous
#A14FCB #CB4FB7 #CB4F79
triadic
#CB4FB7 #B7CB4F #4FB7CB
tetradic
#CB4FB7 #CBA14F #4FCB63 #4F79CB
square
#CB4FB7 #CBA14F #4FCB63 #4F79CB
split-complementary
#CB4FB7 #79CB4F #4FCBA1
monochromatic
#7B246D #AA3297 #CB4FB7 #D97ECA #E7ADDE

Accessibility & contrast

On white

3.93
#CB4FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#CB4FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4FB7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4FB7#FFFFFF#000000##000000
##CB4FB71.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb4fb7;
/* rgb */ color: rgb(203, 79, 183);
/* oklch */ color: oklch(62.7% 0.196 334.5);
Tailwind
colors: {
  custom: {
    50: '#de88cd',
    500: '#cb4fb7',
    950: '#000000',
  },
}
SCSS
$custom: #cb4fb7;
$custom-light: #de88cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4fb7",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 183
  },
  "hsl": {
    "h": 309.677,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62657,
    "c": 0.19642,
    "h": 334.5
  },
  "luminance": 0.21707
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB4FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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