#CF73E7#CF73E7

#CF73E7 is a light, vivid purple. Relative luminance 0.313; OKLCH L 70.1% C 0.186 H 319.0°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#CF73E7
RGBrgb(207, 115, 231)
HSLhsl(288, 71%, 68%)
HSVhsv(288, 50%, 91%)
CMYKcmyk(10.4%, 50.2%, 0%, 9.4%)
CIE-LABlab(62.76, 53.90, -44.07)
CIE-LCHlch(62.76, 69.62, 320.73°)
OKLaboklab(70.14% 0.1407 -0.1222)
OKLCHoklch(70.14% 0.186 319)
XYZxyz(46.2848, 31.2981, 79.1889)
Luminance0.3130 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF73E7 #8BE773
analogous
#9573E7 #CF73E7 #E773C5
triadic
#CF73E7 #E7CF73 #73E7CF
tetradic
#CF73E7 #E79573 #8BE773 #73C5E7
square
#CF73E7 #E79573 #8BE773 #73C5E7
split-complementary
#CF73E7 #C5E773 #73E795
monochromatic
#9E21BF #BD3FDE #CF73E7 #E1A7F0 #F3DBF9

Accessibility & contrast

On white

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

On black

7.26
#CF73E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF73E7
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF73E7#FFFFFF#000000##000000
##CF73E71.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E92EB
Deuteranopia (green-blind)
#7A9BE4
Tritanopia (blue-blind)
#D083A3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cf73e7;
/* rgb */ color: rgb(207, 115, 231);
/* oklch */ color: oklch(70.1% 0.186 319.0);
Tailwind
colors: {
  custom: {
    50: '#e09eef',
    500: '#cf73e7',
    950: '#000000',
  },
}
SCSS
$custom: #cf73e7;
$custom-light: #e09eef;
$custom-dark: #000000;
JSON
{
  "hex": "#cf73e7",
  "rgb": {
    "r": 207,
    "g": 115,
    "b": 231
  },
  "hsl": {
    "h": 287.586,
    "s": 70.732,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70139,
    "c": 0.18637,
    "h": 319
  },
  "luminance": 0.31296
}

Semantic roles & 50–950 ramp

primary
#CF73E7
secondary
#D0EDC9
accent
#D3133A
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150F16
muted
#847E84

Preview Lab

Preview with #CF73E7

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

Preview Lab → · Contrast checker → · Palette generator →

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