#CD74FD#CD74FD

#CD74FD is a light, highly saturated violet. Relative luminance 0.326; OKLCH L 71.2% C 0.207 H 312.3°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#CD74FD
RGBrgb(205, 116, 253)
HSLhsl(279, 97%, 72%)
HSVhsv(279, 54%, 99%)
CMYKcmyk(19%, 54.2%, 0%, 0.8%)
CIE-LABlab(63.81, 57.33, -54.59)
CIE-LCHlch(63.81, 79.16, 316.41°)
OKLaboklab(71.21% 0.139 -0.1528)
OKLCHoklch(71.21% 0.207 312.3)
XYZxyz(49.1487, 32.5629, 96.6057)
Luminance0.3256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74FD #A4FD74
analogous
#8974FD #CD74FD #FD74E9
triadic
#CD74FD #FDCD74 #74FDCD
tetradic
#CD74FD #FD8974 #A4FD74 #74E9FD
square
#CD74FD #FD8974 #A4FD74 #74E9FD
split-complementary
#CD74FD #E9FD74 #74FD89
monochromatic
#9F03F3 #B738FC #CD74FD #E3B0FE #F4E1FF

Accessibility & contrast

On white

2.80
#CD74FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#CD74FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD74FD
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74FD#FFFFFF#000000##000000
##CD74FD1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E96FF
Deuteranopia (green-blind)
#6C9DFA
Tritanopia (blue-blind)
#C88BAE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd74fd;
/* rgb */ color: rgb(205, 116, 253);
/* oklch */ color: oklch(71.2% 0.207 312.3);
Tailwind
colors: {
  custom: {
    50: '#df9fff',
    500: '#cd74fd',
    950: '#000000',
  },
}
SCSS
$custom: #cd74fd;
$custom-light: #df9fff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74fd",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 253
  },
  "hsl": {
    "h": 278.978,
    "s": 97.163,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71215,
    "c": 0.20658,
    "h": 312.3
  },
  "luminance": 0.32562
}

Semantic roles & 50–950 ramp

primary
#CD74FD
secondary
#E0F7D4
accent
#E60050
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#150F18
muted
#847F86

Preview Lab

Preview with #CD74FD

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

Preview Lab → · Contrast checker → · Palette generator →

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