#CD74F0#CD74F0

#CD74F0 is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.5% C 0.193 H 315.6°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#CD74F0
RGBrgb(205, 116, 240)
HSLhsl(283, 81%, 70%)
HSVhsv(283, 52%, 94%)
CMYKcmyk(14.6%, 51.7%, 0%, 5.9%)
CIE-LABlab(63.15, 54.65, -48.46)
CIE-LCHlch(63.15, 73.05, 318.44°)
OKLaboklab(70.52% 0.138 -0.135)
OKLCHoklch(70.52% 0.193 315.6)
XYZxyz(47.1480, 31.7626, 86.0684)
Luminance0.3176 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74F0 #97F074
analogous
#8F74F0 #CD74F0 #F074D5
triadic
#CD74F0 #F0CD74 #74F0CD
tetradic
#CD74F0 #F08F74 #97F074 #74D5F0
square
#CD74F0 #F08F74 #97F074 #74D5F0
split-complementary
#CD74F0 #D5F074 #74F08F
monochromatic
#9E17D3 #B93DEA #CD74F0 #E1ABF6 #F5E2FC

Accessibility & contrast

On white

2.86
#CD74F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#CD74F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD74F0
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74F0#FFFFFF#000000##000000
##CD74F01.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5893F4
Deuteranopia (green-blind)
#749BED
Tritanopia (blue-blind)
#CB87A7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd74f0;
/* rgb */ color: rgb(205, 116, 240);
/* oklch */ color: oklch(70.5% 0.193 315.6);
Tailwind
colors: {
  custom: {
    50: '#df9ff5',
    500: '#cd74f0',
    950: '#000000',
  },
}
SCSS
$custom: #cd74f0;
$custom-light: #df9ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74f0",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 240
  },
  "hsl": {
    "h": 283.065,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70515,
    "c": 0.19305,
    "h": 315.6
  },
  "luminance": 0.31761
}

Semantic roles & 50–950 ramp

primary
#CD74F0
secondary
#D8F1CE
accent
#DD0945
background
#FDFAFF
surface
#FBF3FE
border
#D4CDD6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD74F0

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

Preview Lab → · Contrast checker → · Palette generator →

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