#CD74F8#CD74F8

#CD74F8 is a light, highly saturated purple. Relative luminance 0.322; OKLCH L 70.9% C 0.201 H 313.5°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#CD74F8
RGBrgb(205, 116, 248)
HSLhsl(280, 90%, 71%)
HSVhsv(280, 53%, 97%)
CMYKcmyk(17.3%, 53.2%, 0%, 2.7%)
CIE-LABlab(63.55, 56.29, -52.24)
CIE-LCHlch(63.55, 76.80, 317.14°)
OKLaboklab(70.94% 0.1387 -0.146)
OKLCHoklch(70.94% 0.201 313.5)
XYZxyz(48.3627, 32.2485, 92.4657)
Luminance0.3225 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74F8 #9FF874
analogous
#8B74F8 #CD74F8 #F874E1
triadic
#CD74F8 #F8CD74 #74F8CD
tetradic
#CD74F8 #F88B74 #9FF874 #74E1F8
square
#CD74F8 #F88B74 #9FF874 #74E1F8
split-complementary
#CD74F8 #E1F874 #74F88B
monochromatic
#9F0CE6 #B83AF5 #CD74F8 #E2AEFB #F5E2FE

Accessibility & contrast

On white

2.82
#CD74F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#CD74F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD74F8
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74F8#FFFFFF#000000##000000
##CD74F81.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5295FC
Deuteranopia (green-blind)
#709CF5
Tritanopia (blue-blind)
#C98AAB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd74f8;
/* rgb */ color: rgb(205, 116, 248);
/* oklch */ color: oklch(70.9% 0.201 313.5);
Tailwind
colors: {
  custom: {
    50: '#df9ffb',
    500: '#cd74f8',
    950: '#000000',
  },
}
SCSS
$custom: #cd74f8;
$custom-light: #df9ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74f8",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 280.455,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70941,
    "c": 0.20135,
    "h": 313.5
  },
  "luminance": 0.32247
}

Semantic roles & 50–950 ramp

primary
#CD74F8
secondary
#DEF5D3
accent
#E6004B
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#150F17
muted
#847F85

Preview Lab

Preview with #CD74F8

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

Preview Lab → · Contrast checker → · Palette generator →

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