#CD74F4#CD74F4

#CD74F4 is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.7% C 0.197 H 314.6°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#CD74F4
RGBrgb(205, 116, 244)
HSLhsl(282, 85%, 71%)
HSVhsv(282, 52%, 96%)
CMYKcmyk(16%, 52.5%, 0%, 4.3%)
CIE-LABlab(63.35, 55.47, -50.36)
CIE-LCHlch(63.35, 74.92, 317.76°)
OKLaboklab(70.73% 0.1384 -0.1405)
OKLCHoklch(70.73% 0.197 314.6)
XYZxyz(47.7487, 32.0029, 89.2323)
Luminance0.3200 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74F4 #9BF474
analogous
#8D74F4 #CD74F4 #F474DB
triadic
#CD74F4 #F4CD74 #74F4CD
tetradic
#CD74F4 #F48D74 #9BF474 #74DBF4
square
#CD74F4 #F48D74 #9BF474 #74DBF4
split-complementary
#CD74F4 #DBF474 #74F48D
monochromatic
#9E11DC #B93BF0 #CD74F4 #E1ADF8 #F5E3FD

Accessibility & contrast

On white

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

On black

7.40
#CD74F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD74F4
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74F4#FFFFFF#000000##000000
##CD74F41.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5594F8
Deuteranopia (green-blind)
#729CF1
Tritanopia (blue-blind)
#CA89A9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd74f4;
/* rgb */ color: rgb(205, 116, 244);
/* oklch */ color: oklch(70.7% 0.197 314.6);
Tailwind
colors: {
  custom: {
    50: '#df9ff8',
    500: '#cd74f4',
    950: '#000000',
  },
}
SCSS
$custom: #cd74f4;
$custom-light: #df9ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74f4",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 244
  },
  "hsl": {
    "h": 281.719,
    "s": 85.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70727,
    "c": 0.1972,
    "h": 314.6
  },
  "luminance": 0.32002
}

Semantic roles & 50–950 ramp

primary
#CD74F4
secondary
#DBF3D1
accent
#E20447
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD74F4

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

Preview Lab → · Contrast checker → · Palette generator →

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