#CB7FE5#CB7FE5

#CB7FE5 is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.4% C 0.163 H 317.1°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#CB7FE5
RGBrgb(203, 127, 229)
HSLhsl(285, 66%, 70%)
HSVhsv(285, 45%, 90%)
CMYKcmyk(11.4%, 44.5%, 0%, 10.2%)
CIE-LABlab(64.59, 46.21, -40.11)
CIE-LCHlch(64.59, 61.19, 319.04°)
OKLaboklab(71.37% 0.1192 -0.1109)
OKLCHoklch(71.37% 0.163 317.1)
XYZxyz(46.3588, 33.5338, 78.1442)
Luminance0.3353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7FE5 #99E57F
analogous
#987FE5 #CB7FE5 #E57FCC
triadic
#CB7FE5 #E5CB7F #7FE5CB
tetradic
#CB7FE5 #E5987F #99E57F #7FCCE5
square
#CB7FE5 #E5987F #99E57F #7FCCE5
split-complementary
#CB7FE5 #CCE57F #7FE598
monochromatic
#9B27C2 #B64CDB #CB7FE5 #E0B2EF #F4E5FA

Accessibility & contrast

On white

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

On black

7.71
#CB7FE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7FE5
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7FE5#FFFFFF#000000##000000
##CB7FE51.002.737.717.71
#FFFFFF2.731.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D98E9
Deuteranopia (green-blind)
#829FE2
Tritanopia (blue-blind)
#CA8DA7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cb7fe5;
/* rgb */ color: rgb(203, 127, 229);
/* oklch */ color: oklch(71.4% 0.163 317.1);
Tailwind
colors: {
  custom: {
    50: '#dca6ed',
    500: '#cb7fe5',
    950: '#000000',
  },
}
SCSS
$custom: #cb7fe5;
$custom-light: #dca6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7fe5",
  "rgb": {
    "r": 203,
    "g": 127,
    "b": 229
  },
  "hsl": {
    "h": 284.706,
    "s": 66.234,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71368,
    "c": 0.16287,
    "h": 317.1
  },
  "luminance": 0.33532
}

Semantic roles & 50–950 ramp

primary
#CB7FE5
secondary
#D9EED1
accent
#CE1746
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB7FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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