#CF7AE8#CF7AE8

#CF7AE8 is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.2% C 0.176 H 318.2°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#CF7AE8
RGBrgb(207, 122, 232)
HSLhsl(286, 71%, 69%)
HSVhsv(286, 47%, 91%)
CMYKcmyk(10.8%, 47.4%, 0%, 9%)
CIE-LABlab(64.17, 50.54, -42.40)
CIE-LCHlch(64.17, 65.97, 320.00°)
OKLaboklab(71.2% 0.1313 -0.1174)
OKLCHoklch(71.2% 0.176 318.2)
XYZxyz(47.2552, 33.0123, 80.2111)
Luminance0.3301 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7AE8 #93E87A
analogous
#987AE8 #CF7AE8 #E87ACA
triadic
#CF7AE8 #E8CF7A #7AE8CF
tetradic
#CF7AE8 #E8987A #93E87A #7ACAE8
square
#CF7AE8 #E8987A #93E87A #7ACAE8
split-complementary
#CF7AE8 #CAE87A #7AE898
monochromatic
#A022C5 #BC46DF #CF7AE8 #E2AEF1 #F5E2FA

Accessibility & contrast

On white

2.76
#CF7AE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#CF7AE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7AE8
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7AE8#FFFFFF#000000##000000
##CF7AE81.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6796EC
Deuteranopia (green-blind)
#7F9EE5
Tritanopia (blue-blind)
#CF89A6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cf7ae8;
/* rgb */ color: rgb(207, 122, 232);
/* oklch */ color: oklch(71.2% 0.176 318.2);
Tailwind
colors: {
  custom: {
    50: '#e0a3f0',
    500: '#cf7ae8',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ae8;
$custom-light: #e0a3f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ae8",
  "rgb": {
    "r": 207,
    "g": 122,
    "b": 232
  },
  "hsl": {
    "h": 286.364,
    "s": 70.513,
    "l": 69.412
  },
  "oklch": {
    "l": 0.712,
    "c": 0.17616,
    "h": 318.2
  },
  "luminance": 0.33011
}

Semantic roles & 50–950 ramp

primary
#CF7AE8
secondary
#D6EFCF
accent
#D3133F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF7AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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