#CD74F5#CD74F5

#CD74F5 is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.8% C 0.198 H 314.3°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#CD74F5
RGBrgb(205, 116, 245)
HSLhsl(281, 87%, 71%)
HSVhsv(281, 53%, 96%)
CMYKcmyk(16.3%, 52.7%, 0%, 3.9%)
CIE-LABlab(63.40, 55.68, -50.83)
CIE-LCHlch(63.40, 75.39, 317.60°)
OKLaboklab(70.78% 0.1384 -0.1419)
OKLCHoklch(70.78% 0.198 314.3)
XYZxyz(47.9010, 32.0638, 90.0341)
Luminance0.3206 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74F5 #9CF574
analogous
#8C74F5 #CD74F5 #F574DD
triadic
#CD74F5 #F5CD74 #74F5CD
tetradic
#CD74F5 #F58C74 #9CF574 #74DDF5
square
#CD74F5 #F58C74 #9CF574 #74DDF5
split-complementary
#CD74F5 #DDF574 #74F58C
monochromatic
#9F10DF #B83BF1 #CD74F5 #E2ADF9 #F5E2FD

Accessibility & contrast

On white

2.83
#CD74F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#CD74F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD74F5
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74F5#FFFFFF#000000##000000
##CD74F51.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5494F9
Deuteranopia (green-blind)
#719CF2
Tritanopia (blue-blind)
#CA89AA
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd74f5;
/* rgb */ color: rgb(205, 116, 245);
/* oklch */ color: oklch(70.8% 0.198 314.3);
Tailwind
colors: {
  custom: {
    50: '#df9ff9',
    500: '#cd74f5',
    950: '#000000',
  },
}
SCSS
$custom: #cd74f5;
$custom-light: #df9ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74f5",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 245
  },
  "hsl": {
    "h": 281.395,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.7078,
    "c": 0.19823,
    "h": 314.3
  },
  "luminance": 0.32062
}

Semantic roles & 50–950 ramp

primary
#CD74F5
secondary
#DCF4D1
accent
#E30248
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD74F5

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

Preview Lab → · Contrast checker → · Palette generator →

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