#CB7FE4#CB7FE4

#CB7FE4 is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.3% C 0.162 H 317.4°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#CB7FE4
RGBrgb(203, 127, 228)
HSLhsl(285, 65%, 70%)
HSVhsv(285, 44%, 89%)
CMYKcmyk(11%, 44.3%, 0%, 10.6%)
CIE-LABlab(64.55, 46.01, -39.63)
CIE-LCHlch(64.55, 60.72, 319.26°)
OKLaboklab(71.32% 0.1191 -0.1095)
OKLCHoklch(71.32% 0.162 317.4)
XYZxyz(46.2196, 33.4781, 77.4109)
Luminance0.3348 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7FE4 #98E47F
analogous
#997FE4 #CB7FE4 #E47FCA
triadic
#CB7FE4 #E4CB7F #7FE4CB
tetradic
#CB7FE4 #E4997F #98E47F #7FCAE4
square
#CB7FE4 #E4997F #98E47F #7FCAE4
split-complementary
#CB7FE4 #CAE47F #7FE499
monochromatic
#9B29C0 #B64CD9 #CB7FE4 #E0B2EF #F4E4F9

Accessibility & contrast

On white

2.73
#CB7FE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#CB7FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7FE4
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7FE4#FFFFFF#000000##000000
##CB7FE41.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E98E8
Deuteranopia (green-blind)
#839FE1
Tritanopia (blue-blind)
#CB8DA7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cb7fe4;
/* rgb */ color: rgb(203, 127, 228);
/* oklch */ color: oklch(71.3% 0.162 317.4);
Tailwind
colors: {
  custom: {
    50: '#dca6ed',
    500: '#cb7fe4',
    950: '#000000',
  },
}
SCSS
$custom: #cb7fe4;
$custom-light: #dca6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7fe4",
  "rgb": {
    "r": 203,
    "g": 127,
    "b": 228
  },
  "hsl": {
    "h": 285.149,
    "s": 65.161,
    "l": 69.608
  },
  "oklch": {
    "l": 0.7132,
    "c": 0.16181,
    "h": 317.4
  },
  "luminance": 0.33477
}

Semantic roles & 50–950 ramp

primary
#CB7FE4
secondary
#D8EED1
accent
#CD1945
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB7FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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