#CF74DB#CF74DB

#CF74DB is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.7% C 0.173 H 322.8°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#CF74DB
RGBrgb(207, 116, 219)
HSLhsl(293, 59%, 66%)
HSVhsv(293, 47%, 86%)
CMYKcmyk(5.5%, 47%, 0%, 14.1%)
CIE-LABlab(62.40, 51.08, -37.94)
CIE-LCHlch(62.40, 63.63, 323.40°)
OKLaboklab(69.69% 0.1377 -0.1045)
OKLCHoklch(69.69% 0.173 322.8)
XYZxyz(44.7624, 30.8726, 70.6053)
Luminance0.3087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF74DB #80DB74
analogous
#9B74DB #CF74DB #DB74B3
triadic
#CF74DB #DBCF74 #74DBCF
tetradic
#CF74DB #DB9B74 #80DB74 #74B3DB
square
#CF74DB #DB9B74 #80DB74 #74B3DB
split-complementary
#CF74DB #B3DB74 #74DB9B
monochromatic
#9A2CA9 #BE43CE #CF74DB #E0A5E8 #F1D5F4

Accessibility & contrast

On white

2.93
#CF74DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#CF74DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF74DB
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF74DB#FFFFFF#000000##000000
##CF74DB1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6690DF
Deuteranopia (green-blind)
#819BD8
Tritanopia (blue-blind)
#D2819D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cf74db;
/* rgb */ color: rgb(207, 116, 219);
/* oklch */ color: oklch(69.7% 0.173 322.8);
Tailwind
colors: {
  custom: {
    50: '#e09fe6',
    500: '#cf74db',
    950: '#000000',
  },
}
SCSS
$custom: #cf74db;
$custom-light: #e09fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf74db",
  "rgb": {
    "r": 207,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 293.01,
    "s": 58.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.69693,
    "c": 0.17286,
    "h": 322.8
  },
  "luminance": 0.30871
}

Semantic roles & 50–950 ramp

primary
#CF74DB
secondary
#C8E7C4
accent
#C61F33
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CF74DB

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

Preview Lab → · Contrast checker → · Palette generator →

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