#CB4FCB#CB4FCB

#CB4FCB is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.7% C 0.212 H 327.7°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#CB4FCB
RGBrgb(203, 79, 203)
HSLhsl(300, 54%, 55%)
HSVhsv(300, 61%, 80%)
CMYKcmyk(0%, 61.1%, 0%, 20.4%)
CIE-LABlab(54.66, 64.43, -41.07)
CIE-LCHlch(54.66, 76.41, 327.48°)
OKLaboklab(63.65% 0.1795 -0.1134)
OKLCHoklch(63.65% 0.212 327.7)
XYZxyz(38.2035, 22.6028, 58.8389)
Luminance0.2260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4FCB #4FCB4F
analogous
#8D4FCB #CB4FCB #CB4F8D
triadic
#CB4FCB #CBCB4F #4FCBCB
tetradic
#CB4FCB #CB8D4F #4FCB4F #4F8DCB
square
#CB4FCB #CB8D4F #4FCB4F #4F8DCB
split-complementary
#CB4FCB #8DCB4F #4FCB8D
monochromatic
#7B247B #AA32AA #CB4FCB #D97ED9 #E7ADE7

Accessibility & contrast

On white

3.80
#CB4FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB4FCB#FFFFFF#000000##000000
##CB4FCB1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4078CF
Deuteranopia (green-blind)
#6C88C8
Tritanopia (blue-blind)
#D15F86
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cb4fcb;
/* rgb */ color: rgb(203, 79, 203);
/* oklch */ color: oklch(63.7% 0.212 327.7);
Tailwind
colors: {
  custom: {
    50: '#de88db',
    500: '#cb4fcb',
    950: '#000000',
  },
}
SCSS
$custom: #cb4fcb;
$custom-light: #de88db;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4fcb",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 300,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.63651,
    "c": 0.21226,
    "h": 327.7
  },
  "luminance": 0.226
}

Semantic roles & 50–950 ramp

primary
#CB4FCB
secondary
#A1D5A1
accent
#DE4A4A
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CB4FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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