#CF74EF#CF74EF

#CF74EF is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.7% C 0.193 H 316.6°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#CF74EF
RGBrgb(207, 116, 239)
HSLhsl(284, 79%, 70%)
HSVhsv(284, 51%, 94%)
CMYKcmyk(13.4%, 51.5%, 0%, 6.3%)
CIE-LABlab(63.33, 54.98, -47.60)
CIE-LCHlch(63.33, 72.72, 319.12°)
OKLaboklab(70.69% 0.1403 -0.1324)
OKLCHoklch(70.69% 0.193 316.6)
XYZxyz(47.5552, 31.9897, 85.3142)
Luminance0.3199 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF74EF #94EF74
analogous
#9274EF #CF74EF #EF74D2
triadic
#CF74EF #EFCF74 #74EFCF
tetradic
#CF74EF #EF9274 #94EF74 #74D2EF
square
#CF74EF #EF9274 #94EF74 #74D2EF
split-complementary
#CF74EF #D2EF74 #74EF92
monochromatic
#A118D1 #BC3DE9 #CF74EF #E2ABF5 #F5E2FC

Accessibility & contrast

On white

2.84
#CF74EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#CF74EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF74EF
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF74EF#FFFFFF#000000##000000
##CF74EF1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A94F3
Deuteranopia (green-blind)
#769CEC
Tritanopia (blue-blind)
#CE87A7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cf74ef;
/* rgb */ color: rgb(207, 116, 239);
/* oklch */ color: oklch(70.7% 0.193 316.6);
Tailwind
colors: {
  custom: {
    50: '#e09ff5',
    500: '#cf74ef',
    950: '#000000',
  },
}
SCSS
$custom: #cf74ef;
$custom-light: #e09ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf74ef",
  "rgb": {
    "r": 207,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 284.39,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70689,
    "c": 0.19289,
    "h": 316.6
  },
  "luminance": 0.31988
}

Semantic roles & 50–950 ramp

primary
#CF74EF
secondary
#D7F1CE
accent
#DC0A40
background
#FEFAFF
surface
#FCF3FE
border
#D5CDD6
text
#160F17
muted
#847F85

Preview Lab

Preview with #CF74EF

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

Preview Lab → · Contrast checker → · Palette generator →

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