#CB7DC2#CB7DC2

#CB7DC2 is a light, vivid purple. Relative luminance 0.313; OKLCH L 69.5% C 0.131 H 331.1°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#CB7DC2
RGBrgb(203, 125, 194)
HSLhsl(307, 43%, 64%)
HSVhsv(307, 38%, 80%)
CMYKcmyk(0%, 38.4%, 4.4%, 20.4%)
CIE-LABlab(62.73, 40.59, -23.42)
CIE-LCHlch(62.73, 46.86, 330.02°)
OKLaboklab(69.5% 0.1148 -0.0634)
OKLCHoklch(69.5% 0.131 331.1)
XYZxyz(41.6993, 31.2608, 54.8660)
Luminance0.3126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7DC2 #7DCB86
analogous
#AD7DCB #CB7DC2 #CB7D9B
triadic
#CB7DC2 #C2CB7D #7DC2CB
tetradic
#CB7DC2 #CBAD7D #7DCB86 #7D9BCB
square
#CB7DC2 #CBAD7D #7DCB86 #7D9BCB
split-complementary
#CB7DC2 #9BCB7D #7DCBAD
monochromatic
#933B89 #BA51AD #CB7DC2 #DCA9D7 #EED4EB

Accessibility & contrast

On white

2.90
#CB7DC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#CB7DC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7DC2
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7DC2#FFFFFF#000000##000000
##CB7DC21.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A91C5
Deuteranopia (green-blind)
#8F9CC0
Tritanopia (blue-blind)
#D18297
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb7dc2;
/* rgb */ color: rgb(203, 125, 194);
/* oklch */ color: oklch(69.5% 0.131 331.1);
Tailwind
colors: {
  custom: {
    50: '#dca4d4',
    500: '#cb7dc2',
    950: '#000000',
  },
}
SCSS
$custom: #cb7dc2;
$custom-light: #dca4d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7dc2",
  "rgb": {
    "r": 203,
    "g": 125,
    "b": 194
  },
  "hsl": {
    "h": 306.923,
    "s": 42.857,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69496,
    "c": 0.13115,
    "h": 331.1
  },
  "luminance": 0.31259
}

Semantic roles & 50–950 ramp

primary
#CB7DC2
secondary
#C4DFC7
accent
#B63F30
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CB7DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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