#CB7FC2#CB7FC2

#CB7FC2 is a light, vivid purple. Relative luminance 0.318; OKLCH L 69.8% C 0.128 H 331.2°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#CB7FC2
RGBrgb(203, 127, 194)
HSLhsl(307, 42%, 65%)
HSVhsv(307, 37%, 80%)
CMYKcmyk(0%, 37.4%, 4.4%, 20.4%)
CIE-LABlab(63.15, 39.52, -22.76)
CIE-LCHlch(63.15, 45.61, 330.06°)
OKLaboklab(69.82% 0.1118 -0.0615)
OKLCHoklch(69.82% 0.128 331.2)
XYZxyz(41.9551, 31.7723, 54.9512)
Luminance0.3177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7FC2 #7FCB88
analogous
#AE7FCB #CB7FC2 #CB7F9C
triadic
#CB7FC2 #C2CB7F #7FC2CB
tetradic
#CB7FC2 #CBAE7F #7FCB88 #7F9CCB
square
#CB7FC2 #CBAE7F #7FCB88 #7F9CCB
split-complementary
#CB7FC2 #9CCB7F #7FCBAE
monochromatic
#943C89 #B953AD #CB7FC2 #DDABD7 #EED6EB

Accessibility & contrast

On white

2.86
#CB7FC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#CB7FC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7FC2
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7FC2#FFFFFF#000000##000000
##CB7FC21.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D92C4
Deuteranopia (green-blind)
#909DC0
Tritanopia (blue-blind)
#D18498
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb7fc2;
/* rgb */ color: rgb(203, 127, 194);
/* oklch */ color: oklch(69.8% 0.128 331.2);
Tailwind
colors: {
  custom: {
    50: '#dca5d4',
    500: '#cb7fc2',
    950: '#000000',
  },
}
SCSS
$custom: #cb7fc2;
$custom-light: #dca5d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7fc2",
  "rgb": {
    "r": 203,
    "g": 127,
    "b": 194
  },
  "hsl": {
    "h": 307.105,
    "s": 42.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69818,
    "c": 0.12762,
    "h": 331.2
  },
  "luminance": 0.3177
}

Semantic roles & 50–950 ramp

primary
#CB7FC2
secondary
#C6E0C9
accent
#B54030
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CB7FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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