#CD74F2#CD74F2

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

Color values

HEX#CD74F2
RGBrgb(205, 116, 242)
HSLhsl(282, 83%, 70%)
HSVhsv(282, 52%, 95%)
CMYKcmyk(15.3%, 52.1%, 0%, 5.1%)
CIE-LABlab(63.25, 55.06, -49.41)
CIE-LCHlch(63.25, 73.98, 318.09°)
OKLaboklab(70.62% 0.1382 -0.1378)
OKLCHoklch(70.62% 0.195 315.1)
XYZxyz(47.4467, 31.8821, 87.6417)
Luminance0.3188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74F2 #99F274
analogous
#8E74F2 #CD74F2 #F274D8
triadic
#CD74F2 #F2CD74 #74F2CD
tetradic
#CD74F2 #F28E74 #99F274 #74D8F2
square
#CD74F2 #F28E74 #99F274 #74D8F2
split-complementary
#CD74F2 #D8F274 #74F28E
monochromatic
#9E14D7 #B93CED #CD74F2 #E1ACF7 #F5E3FC

Accessibility & contrast

On white

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

On black

7.38
#CD74F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD74F2
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74F2#FFFFFF#000000##000000
##CD74F21.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5794F6
Deuteranopia (green-blind)
#739CEF
Tritanopia (blue-blind)
#CB88A8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd74f2;
/* rgb */ color: rgb(205, 116, 242);
/* oklch */ color: oklch(70.6% 0.195 315.1);
Tailwind
colors: {
  custom: {
    50: '#df9ff7',
    500: '#cd74f2',
    950: '#000000',
  },
}
SCSS
$custom: #cd74f2;
$custom-light: #df9ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74f2",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 282.381,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.7062,
    "c": 0.19512,
    "h": 315.1
  },
  "luminance": 0.31881
}

Semantic roles & 50–950 ramp

primary
#CD74F2
secondary
#DAF2CF
accent
#DF0646
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD74F2

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

Preview Lab → · Contrast checker → · Palette generator →

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