#CD74FC#CD74FC

#CD74FC is a light, highly saturated violet. Relative luminance 0.325; OKLCH L 71.2% C 0.206 H 312.5°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#CD74FC
RGBrgb(205, 116, 252)
HSLhsl(279, 96%, 72%)
HSVhsv(279, 54%, 99%)
CMYKcmyk(18.7%, 54%, 0%, 1.2%)
CIE-LABlab(63.75, 57.13, -54.12)
CIE-LCHlch(63.75, 78.69, 316.55°)
OKLaboklab(71.16% 0.1389 -0.1515)
OKLCHoklch(71.16% 0.206 312.5)
XYZxyz(48.9899, 32.4994, 95.7689)
Luminance0.3250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74FC #A3FC74
analogous
#8974FC #CD74FC #FC74E7
triadic
#CD74FC #FCCD74 #74FCCD
tetradic
#CD74FC #FC8974 #A3FC74 #74E7FC
square
#CD74FC #FC8974 #A3FC74 #74E7FC
split-complementary
#CD74FC #E7FC74 #74FC89
monochromatic
#9F05F0 #B738FB #CD74FC #E3B0FD #F4E1FE

Accessibility & contrast

On white

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

On black

7.50
#CD74FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD74FC
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74FC#FFFFFF#000000##000000
##CD74FC1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F96FF
Deuteranopia (green-blind)
#6D9CF9
Tritanopia (blue-blind)
#C88BAD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd74fc;
/* rgb */ color: rgb(205, 116, 252);
/* oklch */ color: oklch(71.2% 0.206 312.5);
Tailwind
colors: {
  custom: {
    50: '#df9ffe',
    500: '#cd74fc',
    950: '#000000',
  },
}
SCSS
$custom: #cd74fc;
$custom-light: #df9ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74fc",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 252
  },
  "hsl": {
    "h": 279.265,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.7116,
    "c": 0.20553,
    "h": 312.5
  },
  "luminance": 0.32498
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD74FC

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

Preview Lab → · Contrast checker → · Palette generator →

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