#CD74FF#CD74FF

#CD74FF is a light, highly saturated violet. Relative luminance 0.327; OKLCH L 71.3% C 0.209 H 311.8°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#CD74FF
RGBrgb(205, 116, 255)
HSLhsl(278, 100%, 73%)
HSVhsv(278, 55%, 100%)
CMYKcmyk(19.6%, 54.5%, 0%, 0%)
CIE-LABlab(63.91, 57.75, -55.52)
CIE-LCHlch(63.91, 80.11, 316.13°)
OKLaboklab(71.33% 0.1391 -0.1555)
OKLCHoklch(71.33% 0.209 311.8)
XYZxyz(49.4690, 32.6910, 98.2924)
Luminance0.3269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74FF #A6FF74
analogous
#8774FF #CD74FF #FF74EC
triadic
#CD74FF #FFCD74 #74FFCD
tetradic
#CD74FF #FF8774 #A6FF74 #74ECFF
square
#CD74FF #FF8774 #A6FF74 #74ECFF
split-complementary
#CD74FF #ECFF74 #74FF87
monochromatic
#9F00F9 #B737FF #CD74FF #E3B1FF #F4E0FF

Accessibility & contrast

On white

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

On black

7.54
#CD74FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD74FF
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74FF#FFFFFF#000000##000000
##CD74FF1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C96FF
Deuteranopia (green-blind)
#6B9DFC
Tritanopia (blue-blind)
#C78CAF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd74ff;
/* rgb */ color: rgb(205, 116, 255);
/* oklch */ color: oklch(71.3% 0.209 311.8);
Tailwind
colors: {
  custom: {
    50: '#df9fff',
    500: '#cd74ff',
    950: '#000000',
  },
}
SCSS
$custom: #cd74ff;
$custom-light: #df9fff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74ff",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 255
  },
  "hsl": {
    "h": 278.417,
    "s": 100,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71325,
    "c": 0.20867,
    "h": 311.8
  },
  "luminance": 0.3269
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD74FF

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

Preview Lab → · Contrast checker → · Palette generator →

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