#CF7AE2#CF7AE2

#CF7AE2 is a light, vivid purple. Relative luminance 0.327; OKLCH L 70.9% C 0.170 H 320.1°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#CF7AE2
RGBrgb(207, 122, 226)
HSLhsl(289, 64%, 68%)
HSVhsv(289, 46%, 89%)
CMYKcmyk(8.4%, 46%, 0%, 11.4%)
CIE-LABlab(63.90, 49.36, -39.50)
CIE-LCHlch(63.90, 63.22, 321.33°)
OKLaboklab(70.91% 0.1304 -0.1091)
OKLCHoklch(70.91% 0.17 320.1)
XYZxyz(46.4174, 32.6772, 75.7990)
Luminance0.3267 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7AE2 #8DE27A
analogous
#9B7AE2 #CF7AE2 #E27AC1
triadic
#CF7AE2 #E2CF7A #7AE2CF
tetradic
#CF7AE2 #E29B7A #8DE27A #7AC1E2
square
#CF7AE2 #E29B7A #8DE27A #7AC1E2
split-complementary
#CF7AE2 #C1E27A #7AE29B
monochromatic
#9F28B9 #BD48D7 #CF7AE2 #E1ACED #F3DEF8

Accessibility & contrast

On white

2.79
#CF7AE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#CF7AE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7AE2
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7AE2#FFFFFF#000000##000000
##CF7AE21.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A95E6
Deuteranopia (green-blind)
#829EDF
Tritanopia (blue-blind)
#D088A3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cf7ae2;
/* rgb */ color: rgb(207, 122, 226);
/* oklch */ color: oklch(70.9% 0.170 320.1);
Tailwind
colors: {
  custom: {
    50: '#dfa3eb',
    500: '#cf7ae2',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ae2;
$custom-light: #dfa3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ae2",
  "rgb": {
    "r": 207,
    "g": 122,
    "b": 226
  },
  "hsl": {
    "h": 289.038,
    "s": 64.198,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70909,
    "c": 0.17001,
    "h": 320.1
  },
  "luminance": 0.32675
}

Semantic roles & 50–950 ramp

primary
#CF7AE2
secondary
#D2ECCC
accent
#CC193A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF7AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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