#CB7EC2#CB7EC2

#CB7EC2 is a light, vivid purple. Relative luminance 0.315; OKLCH L 69.7% C 0.129 H 331.1°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#CB7EC2
RGBrgb(203, 126, 194)
HSLhsl(307, 43%, 65%)
HSVhsv(307, 38%, 80%)
CMYKcmyk(0%, 37.9%, 4.4%, 20.4%)
CIE-LABlab(62.94, 40.05, -23.09)
CIE-LCHlch(62.94, 46.23, 330.04°)
OKLaboklab(69.66% 0.1133 -0.0624)
OKLCHoklch(69.66% 0.129 331.1)
XYZxyz(41.8266, 31.5153, 54.9084)
Luminance0.3151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7EC2 #7ECB87
analogous
#AE7ECB #CB7EC2 #CB7E9C
triadic
#CB7EC2 #C2CB7E #7EC2CB
tetradic
#CB7EC2 #CBAE7E #7ECB87 #7E9CCB
square
#CB7EC2 #CBAE7E #7ECB87 #7E9CCB
split-complementary
#CB7EC2 #9CCB7E #7ECBAE
monochromatic
#933B89 #B952AD #CB7EC2 #DDAAD7 #EED5EB

Accessibility & contrast

On white

2.88
#CB7EC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#CB7EC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7EC2
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7EC2#FFFFFF#000000##000000
##CB7EC21.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb7ec2;
/* rgb */ color: rgb(203, 126, 194);
/* oklch */ color: oklch(69.7% 0.129 331.1);
Tailwind
colors: {
  custom: {
    50: '#dca5d4',
    500: '#cb7ec2',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ec2;
$custom-light: #dca5d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ec2",
  "rgb": {
    "r": 203,
    "g": 126,
    "b": 194
  },
  "hsl": {
    "h": 307.013,
    "s": 42.541,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69657,
    "c": 0.12939,
    "h": 331.1
  },
  "luminance": 0.31513
}

Semantic roles & 50–950 ramp

primary
#CB7EC2
secondary
#C5E0C8
accent
#B64030
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CB7EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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