#CF4AEA#CF4AEA

#CF4AEA is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.4% C 0.246 H 320.4°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#CF4AEA
RGBrgb(207, 74, 234)
HSLhsl(290, 79%, 60%)
HSVhsv(290, 68%, 92%)
CMYKcmyk(11.5%, 68.4%, 0%, 8.2%)
CIE-LABlab(56.19, 72.75, -56.16)
CIE-LCHlch(56.19, 91.90, 322.33°)
OKLaboklab(65.41% 0.1898 -0.1571)
OKLCHoklch(65.41% 0.246 320.4)
XYZxyz(43.0304, 24.1056, 80.2122)
Luminance0.2410 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4AEA #65EA4A
analogous
#7F4AEA #CF4AEA #EA4AB5
triadic
#CF4AEA #EACF4A #4AEACF
tetradic
#CF4AEA #EA7F4A #65EA4A #4AB5EA
square
#CF4AEA #EA7F4A #65EA4A #4AB5EA
split-complementary
#CF4AEA #B5EA4A #4AEA7F
monochromatic
#8D13A6 #BC1ADD #CF4AEA #DE81F0 #ECB8F7

Accessibility & contrast

On white

3.61
#CF4AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#CF4AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4AEA
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4AEA#FFFFFF#000000##000000
##CF4AEA1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EEF
Deuteranopia (green-blind)
#598BE6
Tritanopia (blue-blind)
#D06795
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cf4aea;
/* rgb */ color: rgb(207, 74, 234);
/* oklch */ color: oklch(65.4% 0.246 320.4);
Tailwind
colors: {
  custom: {
    50: '#e287f1',
    500: '#cf4aea',
    950: '#000000',
  },
}
SCSS
$custom: #cf4aea;
$custom-light: #e287f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4aea",
  "rgb": {
    "r": 207,
    "g": 74,
    "b": 234
  },
  "hsl": {
    "h": 289.875,
    "s": 79.208,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65409,
    "c": 0.24636,
    "h": 320.4
  },
  "luminance": 0.24103
}

Semantic roles & 50–950 ramp

primary
#CF4AEA
secondary
#B4E6A9
accent
#DC0A2D
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #CF4AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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