#CD74F7#CD74F7

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

Color values

HEX#CD74F7
RGBrgb(205, 116, 247)
HSLhsl(281, 89%, 71%)
HSVhsv(281, 53%, 97%)
CMYKcmyk(17%, 53%, 0%, 3.1%)
CIE-LABlab(63.50, 56.09, -51.77)
CIE-LCHlch(63.50, 76.33, 317.29°)
OKLaboklab(70.89% 0.1386 -0.1446)
OKLCHoklch(70.89% 0.2 313.8)
XYZxyz(48.2079, 32.1866, 91.6508)
Luminance0.3219 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74F7 #9EF774
analogous
#8B74F7 #CD74F7 #F774E0
triadic
#CD74F7 #F7CD74 #74F7CD
tetradic
#CD74F7 #F78B74 #9EF774 #74E0F7
square
#CD74F7 #F78B74 #9EF774 #74E0F7
split-complementary
#CD74F7 #E0F774 #74F78B
monochromatic
#9F0DE4 #B83AF4 #CD74F7 #E2AEFA #F5E2FD

Accessibility & contrast

On white

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

On black

7.44
#CD74F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD74F7
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74F7#FFFFFF#000000##000000
##CD74F71.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5395FB
Deuteranopia (green-blind)
#709CF4
Tritanopia (blue-blind)
#C989AB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd74f7;
/* rgb */ color: rgb(205, 116, 247);
/* oklch */ color: oklch(70.9% 0.200 313.8);
Tailwind
colors: {
  custom: {
    50: '#df9ffa',
    500: '#cd74f7',
    950: '#000000',
  },
}
SCSS
$custom: #cd74f7;
$custom-light: #df9ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74f7",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 247
  },
  "hsl": {
    "h": 280.763,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70887,
    "c": 0.20032,
    "h": 313.8
  },
  "luminance": 0.32185
}

Semantic roles & 50–950 ramp

primary
#CD74F7
secondary
#DDF5D2
accent
#E6004A
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#150F17
muted
#847F85

Preview Lab

Preview with #CD74F7

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

Preview Lab → · Contrast checker → · Palette generator →

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