#CD74FE#CD74FE

#CD74FE is a light, highly saturated violet. Relative luminance 0.326; OKLCH L 71.3% C 0.208 H 312.0°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#CD74FE
RGBrgb(205, 116, 254)
HSLhsl(279, 99%, 73%)
HSVhsv(279, 54%, 100%)
CMYKcmyk(19.3%, 54.3%, 0%, 0.4%)
CIE-LABlab(63.86, 57.54, -55.05)
CIE-LCHlch(63.86, 79.64, 316.27°)
OKLaboklab(71.27% 0.1391 -0.1542)
OKLCHoklch(71.27% 0.208 312)
XYZxyz(49.3085, 32.6268, 97.4468)
Luminance0.3263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74FE #A5FE74
analogous
#8874FE #CD74FE #FE74EA
triadic
#CD74FE #FECD74 #74FECD
tetradic
#CD74FE #FE8874 #A5FE74 #74EAFE
square
#CD74FE #FE8874 #A5FE74 #74EAFE
split-complementary
#CD74FE #EAFE74 #74FE88
monochromatic
#9F02F6 #B737FE #CD74FE #E3B1FE #F4E1FF

Accessibility & contrast

On white

2.79
#CD74FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#CD74FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD74FE
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74FE#FFFFFF#000000##000000
##CD74FE1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D96FF
Deuteranopia (green-blind)
#6C9DFB
Tritanopia (blue-blind)
#C88CAE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd74fe;
/* rgb */ color: rgb(205, 116, 254);
/* oklch */ color: oklch(71.3% 0.208 312.0);
Tailwind
colors: {
  custom: {
    50: '#df9fff',
    500: '#cd74fe',
    950: '#000000',
  },
}
SCSS
$custom: #cd74fe;
$custom-light: #df9fff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74fe",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 254
  },
  "hsl": {
    "h": 278.696,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.7127,
    "c": 0.20763,
    "h": 312
  },
  "luminance": 0.32626
}

Semantic roles & 50–950 ramp

primary
#CD74FE
secondary
#E0F7D4
accent
#E60051
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #CD74FE

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

Preview Lab → · Contrast checker → · Palette generator →

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