#CF7AEC#CF7AEC

#CF7AEC is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.4% C 0.180 H 317.0°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#CF7AEC
RGBrgb(207, 122, 236)
HSLhsl(285, 75%, 70%)
HSVhsv(285, 48%, 93%)
CMYKcmyk(12.3%, 48.3%, 0%, 7.5%)
CIE-LABlab(64.36, 51.34, -44.33)
CIE-LCHlch(64.36, 67.83, 319.19°)
OKLaboklab(71.4% 0.1319 -0.123)
OKLCHoklch(71.4% 0.18 317)
XYZxyz(47.8298, 33.2421, 83.2375)
Luminance0.3324 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7AEC #97EC7A
analogous
#967AEC #CF7AEC #EC7AD0
triadic
#CF7AEC #ECCF7A #7AECCF
tetradic
#CF7AEC #EC967A #97EC7A #7AD0EC
square
#CF7AEC #EC967A #97EC7A #7AD0EC
split-complementary
#CF7AEC #D0EC7A #7AEC96
monochromatic
#A11DCE #BC44E4 #CF7AEC #E2B0F4 #F5E4FB

Accessibility & contrast

On white

2.75
#CF7AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#CF7AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7AEC
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7AEC#FFFFFF#000000##000000
##CF7AEC1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6497F0
Deuteranopia (green-blind)
#7D9FE9
Tritanopia (blue-blind)
#CE8AA8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cf7aec;
/* rgb */ color: rgb(207, 122, 236);
/* oklch */ color: oklch(71.4% 0.180 317.0);
Tailwind
colors: {
  custom: {
    50: '#e0a3f2',
    500: '#cf7aec',
    950: '#000000',
  },
}
SCSS
$custom: #cf7aec;
$custom-light: #e0a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7aec",
  "rgb": {
    "r": 207,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 284.737,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71399,
    "c": 0.18032,
    "h": 317
  },
  "luminance": 0.33241
}

Semantic roles & 50–950 ramp

primary
#CF7AEC
secondary
#D9F1D1
accent
#D70E41
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF7AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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