#CB4FB9#CB4FB9

#CB4FB9 is a light, vivid purple. Relative luminance 0.218; OKLCH L 62.8% C 0.198 H 333.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#CB4FB9
RGBrgb(203, 79, 185)
HSLhsl(309, 54%, 55%)
HSVhsv(309, 61%, 80%)
CMYKcmyk(0%, 61.1%, 8.9%, 20.4%)
CIE-LABlab(53.81, 61.48, -32.06)
CIE-LCHlch(53.81, 69.33, 332.46°)
OKLaboklab(62.75% 0.1776 -0.0874)
OKLCHoklch(62.75% 0.198 333.8)
XYZxyz(36.1817, 21.7940, 48.1906)
Luminance0.2179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4FB9 #4FCB61
analogous
#9F4FCB #CB4FB9 #CB4F7B
triadic
#CB4FB9 #B9CB4F #4FB9CB
tetradic
#CB4FB9 #CB9F4F #4FCB61 #4F7BCB
square
#CB4FB9 #CB9F4F #4FCB61 #4F7BCB
split-complementary
#CB4FB9 #7BCB4F #4FCB9F
monochromatic
#7B246F #AA3299 #CB4FB9 #D97ECC #E7ADDF

Accessibility & contrast

On white

3.92
#CB4FB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#CB4FB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4FB9
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4FB9#FFFFFF#000000##000000
##CB4FB91.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D75BC
Deuteranopia (green-blind)
#7487B6
Tritanopia (blue-blind)
#D4587D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cb4fb9;
/* rgb */ color: rgb(203, 79, 185);
/* oklch */ color: oklch(62.8% 0.198 333.8);
Tailwind
colors: {
  custom: {
    50: '#de88ce',
    500: '#cb4fb9',
    950: '#000000',
  },
}
SCSS
$custom: #cb4fb9;
$custom-light: #de88ce;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4fb9",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 185
  },
  "hsl": {
    "h": 308.71,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62751,
    "c": 0.19794,
    "h": 333.8
  },
  "luminance": 0.21791
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB4FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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