#CF73E8#CF73E8

#CF73E8 is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.2% C 0.187 H 318.7°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#CF73E8
RGBrgb(207, 115, 232)
HSLhsl(287, 72%, 68%)
HSVhsv(287, 50%, 91%)
CMYKcmyk(10.8%, 50.4%, 0%, 9%)
CIE-LABlab(62.81, 54.09, -44.55)
CIE-LCHlch(62.81, 70.08, 320.53°)
OKLaboklab(70.19% 0.1408 -0.1236)
OKLCHoklch(70.19% 0.187 318.7)
XYZxyz(46.4264, 31.3548, 79.9348)
Luminance0.3135 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF73E8 #8CE873
analogous
#9473E8 #CF73E8 #E873C7
triadic
#CF73E8 #E8CF73 #73E8CF
tetradic
#CF73E8 #E89473 #8CE873 #73C7E8
square
#CF73E8 #E89473 #8CE873 #73C7E8
split-complementary
#CF73E8 #C7E873 #73E894
monochromatic
#9E20C1 #BD3EDF #CF73E8 #E1A8F1 #F3DCF9

Accessibility & contrast

On white

2.89
#CF73E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#CF73E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF73E8
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF73E8#FFFFFF#000000##000000
##CF73E81.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D92EC
Deuteranopia (green-blind)
#799BE5
Tritanopia (blue-blind)
#CF84A3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cf73e8;
/* rgb */ color: rgb(207, 115, 232);
/* oklch */ color: oklch(70.2% 0.187 318.7);
Tailwind
colors: {
  custom: {
    50: '#e09ef0',
    500: '#cf73e8',
    950: '#000000',
  },
}
SCSS
$custom: #cf73e8;
$custom-light: #e09ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf73e8",
  "rgb": {
    "r": 207,
    "g": 115,
    "b": 232
  },
  "hsl": {
    "h": 287.179,
    "s": 71.779,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70189,
    "c": 0.18737,
    "h": 318.7
  },
  "luminance": 0.31353
}

Semantic roles & 50–950 ramp

primary
#CF73E8
secondary
#D1EDCA
accent
#D4123B
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150F16
muted
#847E84

Preview Lab

Preview with #CF73E8

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

Preview Lab → · Contrast checker → · Palette generator →

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