#CD74F3#CD74F3

#CD74F3 is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.7% C 0.196 H 314.8°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#CD74F3
RGBrgb(205, 116, 243)
HSLhsl(282, 84%, 70%)
HSVhsv(282, 52%, 95%)
CMYKcmyk(15.6%, 52.3%, 0%, 4.7%)
CIE-LABlab(63.30, 55.27, -49.89)
CIE-LCHlch(63.30, 74.45, 317.93°)
OKLaboklab(70.67% 0.1383 -0.1391)
OKLCHoklch(70.67% 0.196 314.8)
XYZxyz(47.5973, 31.9424, 88.4348)
Luminance0.3194 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74F3 #9AF374
analogous
#8D74F3 #CD74F3 #F374DA
triadic
#CD74F3 #F3CD74 #74F3CD
tetradic
#CD74F3 #F38D74 #9AF374 #74DAF3
square
#CD74F3 #F38D74 #9AF374 #74DAF3
split-complementary
#CD74F3 #DAF374 #74F38D
monochromatic
#9E13DA #B93CEE #CD74F3 #E1ACF8 #F5E3FD

Accessibility & contrast

On white

2.84
#CD74F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#CD74F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD74F3
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74F3#FFFFFF#000000##000000
##CD74F31.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5694F7
Deuteranopia (green-blind)
#739CF0
Tritanopia (blue-blind)
#CA88A9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd74f3;
/* rgb */ color: rgb(205, 116, 243);
/* oklch */ color: oklch(70.7% 0.196 314.8);
Tailwind
colors: {
  custom: {
    50: '#df9ff7',
    500: '#cd74f3',
    950: '#000000',
  },
}
SCSS
$custom: #cd74f3;
$custom-light: #df9ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74f3",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 243
  },
  "hsl": {
    "h": 282.047,
    "s": 84.106,
    "l": 70.392
  },
  "oklch": {
    "l": 0.70673,
    "c": 0.19615,
    "h": 314.8
  },
  "luminance": 0.31941
}

Semantic roles & 50–950 ramp

primary
#CD74F3
secondary
#DAF3D0
accent
#E10547
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD74F3

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

Preview Lab → · Contrast checker → · Palette generator →

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