#CF7AE5#CF7AE5

#CF7AE5 is a light, vivid purple. Relative luminance 0.328; OKLCH L 71.1% C 0.173 H 319.1°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#CF7AE5
RGBrgb(207, 122, 229)
HSLhsl(288, 67%, 69%)
HSVhsv(288, 47%, 90%)
CMYKcmyk(9.6%, 46.7%, 0%, 10.2%)
CIE-LABlab(64.03, 49.94, -40.95)
CIE-LCHlch(64.03, 64.59, 320.65°)
OKLaboklab(71.05% 0.1309 -0.1132)
OKLCHoklch(71.05% 0.173 319.1)
XYZxyz(46.8327, 32.8433, 77.9860)
Luminance0.3284 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7AE5 #90E57A
analogous
#9A7AE5 #CF7AE5 #E57AC6
triadic
#CF7AE5 #E5CF7A #7AE5CF
tetradic
#CF7AE5 #E59A7A #90E57A #7AC6E5
square
#CF7AE5 #E59A7A #90E57A #7AC6E5
split-complementary
#CF7AE5 #C6E57A #7AE59A
monochromatic
#A025BF #BD47DB #CF7AE5 #E1ADEF #F4E0F9

Accessibility & contrast

On white

2.77
#CF7AE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#CF7AE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7AE5
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7AE5#FFFFFF#000000##000000
##CF7AE51.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6895E9
Deuteranopia (green-blind)
#819EE2
Tritanopia (blue-blind)
#D088A5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cf7ae5;
/* rgb */ color: rgb(207, 122, 229);
/* oklch */ color: oklch(71.1% 0.173 319.1);
Tailwind
colors: {
  custom: {
    50: '#dfa3ed',
    500: '#cf7ae5',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ae5;
$custom-light: #dfa3ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ae5",
  "rgb": {
    "r": 207,
    "g": 122,
    "b": 229
  },
  "hsl": {
    "h": 287.664,
    "s": 67.296,
    "l": 68.824
  },
  "oklch": {
    "l": 0.71054,
    "c": 0.17308,
    "h": 319.1
  },
  "luminance": 0.32842
}

Semantic roles & 50–950 ramp

primary
#CF7AE5
secondary
#D4EDCE
accent
#CF163C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF7AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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