#CF7AEF#CF7AEF

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

Color values

HEX#CF7AEF
RGBrgb(207, 122, 239)
HSLhsl(284, 79%, 71%)
HSVhsv(284, 49%, 94%)
CMYKcmyk(13.4%, 49%, 0%, 6.3%)
CIE-LABlab(64.50, 51.94, -45.76)
CIE-LCHlch(64.50, 69.23, 318.62°)
OKLaboklab(71.55% 0.1322 -0.1272)
OKLCHoklch(71.55% 0.183 316.1)
XYZxyz(48.2693, 33.4179, 85.5522)
Luminance0.3342 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7AEF #9AEF7A
analogous
#947AEF #CF7AEF #EF7AD4
triadic
#CF7AEF #EFCF7A #7AEFCF
tetradic
#CF7AEF #EF947A #9AEF7A #7AD4EF
square
#CF7AEF #EF947A #9AEF7A #7AD4EF
split-complementary
#CF7AEF #D4EF7A #7AEF94
monochromatic
#A21AD5 #BB43E8 #CF7AEF #E3B1F6 #F5E4FC

Accessibility & contrast

On white

2.73
#CF7AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#CF7AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7AEF
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7AEF#FFFFFF#000000##000000
##CF7AEF1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F3
Deuteranopia (green-blind)
#7C9FEC
Tritanopia (blue-blind)
#CE8BAA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cf7aef;
/* rgb */ color: rgb(207, 122, 239);
/* oklch */ color: oklch(71.5% 0.183 316.1);
Tailwind
colors: {
  custom: {
    50: '#e0a3f4',
    500: '#cf7aef',
    950: '#000000',
  },
}
SCSS
$custom: #cf7aef;
$custom-light: #e0a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7aef",
  "rgb": {
    "r": 207,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 283.59,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.7155,
    "c": 0.18344,
    "h": 316.1
  },
  "luminance": 0.33416
}

Semantic roles & 50–950 ramp

primary
#CF7AEF
secondary
#DBF2D3
accent
#DB0B44
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF7AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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