#CF74EA#CF74EA

#CF74EA is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.4% C 0.188 H 318.1°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#CF74EA
RGBrgb(207, 116, 234)
HSLhsl(286, 74%, 69%)
HSVhsv(286, 50%, 92%)
CMYKcmyk(11.5%, 50.4%, 0%, 8.2%)
CIE-LABlab(63.09, 53.98, -45.21)
CIE-LCHlch(63.09, 70.41, 320.06°)
OKLaboklab(70.43% 0.1397 -0.1255)
OKLCHoklch(70.43% 0.188 318.1)
XYZxyz(46.8268, 31.6984, 81.4777)
Luminance0.3170 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF74EA #8FEA74
analogous
#9474EA #CF74EA #EA74CA
triadic
#CF74EA #EACF74 #74EACF
tetradic
#CF74EA #EA9474 #8FEA74 #74CAEA
square
#CF74EA #EA9474 #8FEA74 #74CAEA
split-complementary
#CF74EA #CAEA74 #74EA94
monochromatic
#9F1EC6 #BD3FE2 #CF74EA #E1A9F2 #F4DEFA

Accessibility & contrast

On white

2.86
#CF74EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#CF74EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF74EA
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF74EA#FFFFFF#000000##000000
##CF74EA1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93EE
Deuteranopia (green-blind)
#799CE7
Tritanopia (blue-blind)
#CF85A4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cf74ea;
/* rgb */ color: rgb(207, 116, 234);
/* oklch */ color: oklch(70.4% 0.188 318.1);
Tailwind
colors: {
  custom: {
    50: '#e09ff1',
    500: '#cf74ea',
    950: '#000000',
  },
}
SCSS
$custom: #cf74ea;
$custom-light: #e09ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf74ea",
  "rgb": {
    "r": 207,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 286.271,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70432,
    "c": 0.18781,
    "h": 318.1
  },
  "luminance": 0.31697
}

Semantic roles & 50–950 ramp

primary
#CF74EA
secondary
#D3EFCB
accent
#D6103D
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#150F17
muted
#847F85

Preview Lab

Preview with #CF74EA

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

Preview Lab → · Contrast checker → · Palette generator →

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