#CF72F2#CF72F2

#CF72F2 is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.6% C 0.199 H 316.0°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#CF72F2
RGBrgb(207, 114, 242)
HSLhsl(284, 83%, 70%)
HSVhsv(284, 53%, 95%)
CMYKcmyk(14.5%, 52.9%, 0%, 5.1%)
CIE-LABlab(63.10, 56.58, -49.62)
CIE-LCHlch(63.10, 75.26, 318.75°)
OKLaboklab(70.57% 0.1431 -0.1383)
OKLCHoklch(70.57% 0.199 316)
XYZxyz(47.7740, 31.7124, 87.5917)
Luminance0.3171 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF72F2 #95F272
analogous
#8F72F2 #CF72F2 #F272D5
triadic
#CF72F2 #F2CF72 #72F2CF
tetradic
#CF72F2 #F28F72 #95F272 #72D5F2
square
#CF72F2 #F28F72 #95F272 #72D5F2
split-complementary
#CF72F2 #D5F272 #72F28F
monochromatic
#A114D6 #BC3AED #CF72F2 #E2AAF7 #F5E2FC

Accessibility & contrast

On white

2.86
#CF72F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#CF72F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF72F2
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF72F2#FFFFFF#000000##000000
##CF72F21.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5593F6
Deuteranopia (green-blind)
#739BEF
Tritanopia (blue-blind)
#CD86A8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cf72f2;
/* rgb */ color: rgb(207, 114, 242);
/* oklch */ color: oklch(70.6% 0.199 316.0);
Tailwind
colors: {
  custom: {
    50: '#e09ef7',
    500: '#cf72f2',
    950: '#000000',
  },
}
SCSS
$custom: #cf72f2;
$custom-light: #e09ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf72f2",
  "rgb": {
    "r": 207,
    "g": 114,
    "b": 242
  },
  "hsl": {
    "h": 283.594,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70568,
    "c": 0.19904,
    "h": 316
  },
  "luminance": 0.31711
}

Semantic roles & 50–950 ramp

primary
#CF72F2
secondary
#D8F2CE
accent
#E00641
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #CF72F2

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

Preview Lab → · Contrast checker → · Palette generator →

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