#CF4FEA#CF4FEA

#CF4FEA is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.9% C 0.240 H 320.2°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#CF4FEA
RGBrgb(207, 79, 234)
HSLhsl(290, 79%, 61%)
HSVhsv(290, 66%, 92%)
CMYKcmyk(11.5%, 66.2%, 0%, 8.2%)
CIE-LABlab(56.88, 70.82, -55.06)
CIE-LCHlch(56.88, 89.71, 322.13°)
OKLaboklab(65.9% 0.1846 -0.1539)
OKLCHoklch(65.9% 0.24 320.2)
XYZxyz(43.3776, 24.8000, 80.3280)
Luminance0.2480 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4FEA #6AEA4F
analogous
#824FEA #CF4FEA #EA4FB8
triadic
#CF4FEA #EACF4F #4FEACF
tetradic
#CF4FEA #EA824F #6AEA4F #4FB8EA
square
#CF4FEA #EA824F #6AEA4F #4FB8EA
split-complementary
#CF4FEA #B8EA4F #4FEA82
monochromatic
#9014AA #BE1BE1 #CF4FEA #DE86F1 #EDBCF7

Accessibility & contrast

On white

3.52
#CF4FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#CF4FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4FEA
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4FEA#FFFFFF#000000##000000
##CF4FEA1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1780EF
Deuteranopia (green-blind)
#5D8DE6
Tritanopia (blue-blind)
#D06A96
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cf4fea;
/* rgb */ color: rgb(207, 79, 234);
/* oklch */ color: oklch(65.9% 0.240 320.2);
Tailwind
colors: {
  custom: {
    50: '#e18af1',
    500: '#cf4fea',
    950: '#000000',
  },
}
SCSS
$custom: #cf4fea;
$custom-light: #e18af1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4fea",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 289.548,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65901,
    "c": 0.24037,
    "h": 320.2
  },
  "luminance": 0.24798
}

Semantic roles & 50–950 ramp

primary
#CF4FEA
secondary
#B8E7AD
accent
#DB0B2F
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #CF4FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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