#CB7FE0#CB7FE0

#CB7FE0 is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.1% C 0.158 H 318.7°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#CB7FE0
RGBrgb(203, 127, 224)
HSLhsl(287, 61%, 69%)
HSVhsv(287, 43%, 88%)
CMYKcmyk(9.4%, 43.3%, 0%, 12.2%)
CIE-LABlab(64.37, 45.20, -37.68)
CIE-LCHlch(64.37, 58.85, 320.18°)
OKLaboklab(71.13% 0.1184 -0.1039)
OKLCHoklch(71.13% 0.158 318.7)
XYZxyz(45.6707, 33.2585, 74.5203)
Luminance0.3326 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7FE0 #94E07F
analogous
#9B7FE0 #CB7FE0 #E07FC5
triadic
#CB7FE0 #E0CB7F #7FE0CB
tetradic
#CB7FE0 #E09B7F #94E07F #7FC5E0
square
#CB7FE0 #E09B7F #94E07F #7FC5E0
split-complementary
#CB7FE0 #C5E07F #7FE09B
monochromatic
#9A2DB8 #B74ED4 #CB7FE0 #DFB0EC #F3E2F8

Accessibility & contrast

On white

2.74
#CB7FE0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#CB7FE0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7FE0
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7FE0#FFFFFF#000000##000000
##CB7FE01.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7097E3
Deuteranopia (green-blind)
#849FDD
Tritanopia (blue-blind)
#CB8CA5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cb7fe0;
/* rgb */ color: rgb(203, 127, 224);
/* oklch */ color: oklch(71.1% 0.158 318.7);
Tailwind
colors: {
  custom: {
    50: '#dca6ea',
    500: '#cb7fe0',
    950: '#000000',
  },
}
SCSS
$custom: #cb7fe0;
$custom-light: #dca6ea;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7fe0",
  "rgb": {
    "r": 203,
    "g": 127,
    "b": 224
  },
  "hsl": {
    "h": 287.01,
    "s": 61.006,
    "l": 68.824
  },
  "oklch": {
    "l": 0.71131,
    "c": 0.15755,
    "h": 318.7
  },
  "luminance": 0.33257
}

Semantic roles & 50–950 ramp

primary
#CB7FE0
secondary
#D5ECCF
accent
#C91D42
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB7FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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