#CF74ED#CF74ED

#CF74ED is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.6% C 0.191 H 317.2°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#CF74ED
RGBrgb(207, 116, 237)
HSLhsl(285, 77%, 69%)
HSVhsv(285, 51%, 93%)
CMYKcmyk(12.7%, 51.1%, 0%, 7.1%)
CIE-LABlab(63.24, 54.58, -46.64)
CIE-LCHlch(63.24, 71.80, 319.48°)
OKLaboklab(70.59% 0.14 -0.1297)
OKLCHoklch(70.59% 0.191 317.2)
XYZxyz(47.2614, 31.8722, 83.7667)
Luminance0.3187 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF74ED #92ED74
analogous
#9374ED #CF74ED #ED74CF
triadic
#CF74ED #EDCF74 #74EDCF
tetradic
#CF74ED #ED9374 #92ED74 #74CFED
square
#CF74ED #ED9374 #92ED74 #74CFED
split-complementary
#CF74ED #CFED74 #74ED93
monochromatic
#A01ACC #BC3EE6 #CF74ED #E2AAF4 #F4E0FB

Accessibility & contrast

On white

2.85
#CF74ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#CF74ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF74ED
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF74ED#FFFFFF#000000##000000
##CF74ED1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F1
Deuteranopia (green-blind)
#789CEA
Tritanopia (blue-blind)
#CE86A6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cf74ed;
/* rgb */ color: rgb(207, 116, 237);
/* oklch */ color: oklch(70.6% 0.191 317.2);
Tailwind
colors: {
  custom: {
    50: '#e09ff3',
    500: '#cf74ed',
    950: '#000000',
  },
}
SCSS
$custom: #cf74ed;
$custom-light: #e09ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf74ed",
  "rgb": {
    "r": 207,
    "g": 116,
    "b": 237
  },
  "hsl": {
    "h": 285.124,
    "s": 77.07,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70586,
    "c": 0.19085,
    "h": 317.2
  },
  "luminance": 0.31871
}

Semantic roles & 50–950 ramp

primary
#CF74ED
secondary
#D6F0CD
accent
#D90C3F
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#150F17
muted
#847F85

Preview Lab

Preview with #CF74ED

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

Preview Lab → · Contrast checker → · Palette generator →

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