#CB7FC5#CB7FC5

#CB7FC5 is a light, vivid purple. Relative luminance 0.319; OKLCH L 69.9% C 0.130 H 329.7°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#CB7FC5
RGBrgb(203, 127, 197)
HSLhsl(305, 42%, 65%)
HSVhsv(305, 37%, 80%)
CMYKcmyk(0%, 37.4%, 3%, 20.4%)
CIE-LABlab(63.27, 40.06, -24.28)
CIE-LCHlch(63.27, 46.84, 328.78°)
OKLaboklab(69.94% 0.1126 -0.0658)
OKLCHoklch(69.94% 0.13 329.7)
XYZxyz(42.2954, 31.9084, 56.7436)
Luminance0.3191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7FC5 #7FCB85
analogous
#AB7FCB #CB7FC5 #CB7F9F
triadic
#CB7FC5 #C5CB7F #7FC5CB
tetradic
#CB7FC5 #CBAB7F #7FCB85 #7F9FCB
square
#CB7FC5 #CBAB7F #7FCB85 #7F9FCB
split-complementary
#CB7FC5 #9FCB7F #7FCBAB
monochromatic
#943C8D #B953B1 #CB7FC5 #DDABD9 #EED6EC

Accessibility & contrast

On white

2.85
#CB7FC5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#CB7FC5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7FC5
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7FC5#FFFFFF#000000##000000
##CB7FC51.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C93C8
Deuteranopia (green-blind)
#8F9DC3
Tritanopia (blue-blind)
#D08599
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb7fc5;
/* rgb */ color: rgb(203, 127, 197);
/* oklch */ color: oklch(69.9% 0.130 329.7);
Tailwind
colors: {
  custom: {
    50: '#dca5d6',
    500: '#cb7fc5',
    950: '#000000',
  },
}
SCSS
$custom: #cb7fc5;
$custom-light: #dca5d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7fc5",
  "rgb": {
    "r": 203,
    "g": 127,
    "b": 197
  },
  "hsl": {
    "h": 304.737,
    "s": 42.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69941,
    "c": 0.1304,
    "h": 329.7
  },
  "luminance": 0.31906
}

Semantic roles & 50–950 ramp

primary
#CB7FC5
secondary
#C6E0C8
accent
#B53B30
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CB7FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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