#CF73E2#CF73E2

#CF73E2 is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.9% C 0.181 H 320.6°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#CF73E2
RGBrgb(207, 115, 226)
HSLhsl(290, 66%, 67%)
HSVhsv(290, 49%, 89%)
CMYKcmyk(8.4%, 49.1%, 0%, 11.4%)
CIE-LABlab(62.52, 52.92, -41.65)
CIE-LCHlch(62.52, 67.35, 321.80°)
OKLaboklab(69.89% 0.1401 -0.1152)
OKLCHoklch(69.89% 0.181 320.6)
XYZxyz(45.5887, 31.0197, 75.5228)
Luminance0.3102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF73E2 #86E273
analogous
#9873E2 #CF73E2 #E273BD
triadic
#CF73E2 #E2CF73 #73E2CF
tetradic
#CF73E2 #E29873 #86E273 #73BDE2
square
#CF73E2 #E29873 #86E273 #73BDE2
split-complementary
#CF73E2 #BDE273 #73E298
monochromatic
#9D26B5 #BE40D7 #CF73E2 #E0A6ED #F2D8F7

Accessibility & contrast

On white

2.92
#CF73E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#CF73E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF73E2
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF73E2#FFFFFF#000000##000000
##CF73E21.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6191E6
Deuteranopia (green-blind)
#7D9BDF
Tritanopia (blue-blind)
#D182A0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cf73e2;
/* rgb */ color: rgb(207, 115, 226);
/* oklch */ color: oklch(69.9% 0.181 320.6);
Tailwind
colors: {
  custom: {
    50: '#e09eeb',
    500: '#cf73e2',
    950: '#000000',
  },
}
SCSS
$custom: #cf73e2;
$custom-light: #e09eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf73e2",
  "rgb": {
    "r": 207,
    "g": 115,
    "b": 226
  },
  "hsl": {
    "h": 289.73,
    "s": 65.68,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69889,
    "c": 0.18138,
    "h": 320.6
  },
  "luminance": 0.31018
}

Semantic roles & 50–950 ramp

primary
#CF73E2
secondary
#CDEAC7
accent
#CE1837
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150F16
muted
#847E84

Preview Lab

Preview with #CF73E2

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

Preview Lab → · Contrast checker → · Palette generator →

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