#CB7FCE#CB7FCE

#CB7FCE is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.3% C 0.139 H 325.6°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#CB7FCE
RGBrgb(203, 127, 206)
HSLhsl(298, 45%, 65%)
HSVhsv(298, 38%, 81%)
CMYKcmyk(1.5%, 38.3%, 0%, 19.2%)
CIE-LABlab(63.62, 41.72, -28.80)
CIE-LCHlch(63.62, 50.69, 325.38°)
OKLaboklab(70.32% 0.1147 -0.0786)
OKLCHoklch(70.32% 0.139 325.6)
XYZxyz(43.3576, 32.3333, 62.3376)
Luminance0.3233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7FCE #82CE7F
analogous
#A47FCE #CB7FCE #CE7FA9
triadic
#CB7FCE #CECB7F #7FCECB
tetradic
#CB7FCE #CEA47F #82CE7F #7FA9CE
square
#CB7FCE #CEA47F #82CE7F #7FA9CE
split-complementary
#CB7FCE #A9CE7F #7FCEA4
monochromatic
#953A98 #B953BD #CB7FCE #DDABDF #EFD8F0

Accessibility & contrast

On white

2.81
#CB7FCE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#CB7FCE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7FCE
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7FCE#FFFFFF#000000##000000
##CB7FCE1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7894D1
Deuteranopia (green-blind)
#8C9DCB
Tritanopia (blue-blind)
#CF879D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cb7fce;
/* rgb */ color: rgb(203, 127, 206);
/* oklch */ color: oklch(70.3% 0.139 325.6);
Tailwind
colors: {
  custom: {
    50: '#dca6dd',
    500: '#cb7fce',
    950: '#000000',
  },
}
SCSS
$custom: #cb7fce;
$custom-light: #dca6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7fce",
  "rgb": {
    "r": 203,
    "g": 127,
    "b": 206
  },
  "hsl": {
    "h": 297.722,
    "s": 44.633,
    "l": 65.294
  },
  "oklch": {
    "l": 0.7032,
    "c": 0.13907,
    "h": 325.6
  },
  "luminance": 0.32331
}

Semantic roles & 50–950 ramp

primary
#CB7FCE
secondary
#C8E2C7
accent
#B82E33
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CB7FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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