#CD74F9#CD74F9

#CD74F9 is a light, highly saturated purple. Relative luminance 0.323; OKLCH L 71.0% C 0.202 H 313.3°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#CD74F9
RGBrgb(205, 116, 249)
HSLhsl(280, 92%, 72%)
HSVhsv(280, 53%, 98%)
CMYKcmyk(17.7%, 53.4%, 0%, 2.4%)
CIE-LABlab(63.60, 56.50, -52.71)
CIE-LCHlch(63.60, 77.27, 316.99°)
OKLaboklab(71% 0.1387 -0.1474)
OKLCHoklch(71% 0.202 313.3)
XYZxyz(48.5182, 32.3107, 93.2849)
Luminance0.3231 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74F9 #A0F974
analogous
#8B74F9 #CD74F9 #F974E3
triadic
#CD74F9 #F9CD74 #74F9CD
tetradic
#CD74F9 #F98B74 #A0F974 #74E3F9
square
#CD74F9 #F98B74 #A0F974 #74E3F9
split-complementary
#CD74F9 #E3F974 #74F98B
monochromatic
#9F0AE9 #B839F6 #CD74F9 #E2AFFC #F4E2FE

Accessibility & contrast

On white

2.81
#CD74F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#CD74F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD74F9
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74F9#FFFFFF#000000##000000
##CD74F91.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5195FD
Deuteranopia (green-blind)
#6F9CF6
Tritanopia (blue-blind)
#C98AAC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd74f9;
/* rgb */ color: rgb(205, 116, 249);
/* oklch */ color: oklch(71.0% 0.202 313.3);
Tailwind
colors: {
  custom: {
    50: '#df9ffc',
    500: '#cd74f9',
    950: '#000000',
  },
}
SCSS
$custom: #cd74f9;
$custom-light: #df9ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74f9",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 249
  },
  "hsl": {
    "h": 280.15,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70996,
    "c": 0.2024,
    "h": 313.3
  },
  "luminance": 0.32309
}

Semantic roles & 50–950 ramp

primary
#CD74F9
secondary
#DFF5D3
accent
#E6004C
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#150F17
muted
#847F85

Preview Lab

Preview with #CD74F9

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

Preview Lab → · Contrast checker → · Palette generator →

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