#CF7AEE#CF7AEE

#CF7AEE is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.5% C 0.182 H 316.4°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#CF7AEE
RGBrgb(207, 122, 238)
HSLhsl(284, 77%, 71%)
HSVhsv(284, 49%, 93%)
CMYKcmyk(13%, 48.7%, 0%, 6.7%)
CIE-LABlab(64.45, 51.74, -45.29)
CIE-LCHlch(64.45, 68.76, 318.81°)
OKLaboklab(71.5% 0.1321 -0.1258)
OKLCHoklch(71.5% 0.182 316.4)
XYZxyz(48.1220, 33.3590, 84.7763)
Luminance0.3336 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7AEE #99EE7A
analogous
#957AEE #CF7AEE #EE7AD3
triadic
#CF7AEE #EECF7A #7AEECF
tetradic
#CF7AEE #EE957A #99EE7A #7AD3EE
square
#CF7AEE #EE957A #99EE7A #7AD3EE
split-complementary
#CF7AEE #D3EE7A #7AEE95
monochromatic
#A21BD3 #BB44E7 #CF7AEE #E3B0F5 #F5E4FC

Accessibility & contrast

On white

2.74
#CF7AEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#CF7AEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7AEE
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7AEE#FFFFFF#000000##000000
##CF7AEE1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6397F2
Deuteranopia (green-blind)
#7C9FEB
Tritanopia (blue-blind)
#CE8BA9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cf7aee;
/* rgb */ color: rgb(207, 122, 238);
/* oklch */ color: oklch(71.5% 0.182 316.4);
Tailwind
colors: {
  custom: {
    50: '#e0a3f4',
    500: '#cf7aee',
    950: '#000000',
  },
}
SCSS
$custom: #cf7aee;
$custom-light: #e0a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7aee",
  "rgb": {
    "r": 207,
    "g": 122,
    "b": 238
  },
  "hsl": {
    "h": 283.966,
    "s": 77.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71499,
    "c": 0.1824,
    "h": 316.4
  },
  "luminance": 0.33358
}

Semantic roles & 50–950 ramp

primary
#CF7AEE
secondary
#DBF2D2
accent
#DA0C43
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF7AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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