#CD79FD#CD79FD

#CD79FD is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.9% C 0.199 H 311.8°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#CD79FD
RGBrgb(205, 121, 253)
HSLhsl(278, 97%, 73%)
HSVhsv(278, 52%, 99%)
CMYKcmyk(19%, 52.2%, 0%, 0.8%)
CIE-LABlab(64.76, 54.82, -53.07)
CIE-LCHlch(64.76, 76.30, 315.93°)
OKLaboklab(71.92% 0.1326 -0.1484)
OKLCHoklch(71.92% 0.199 311.8)
XYZxyz(49.7407, 33.7468, 96.8030)
Luminance0.3375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79FD #A9FD79
analogous
#8B79FD #CD79FD #FD79EB
triadic
#CD79FD #FDCD79 #79FDCD
tetradic
#CD79FD #FD8B79 #A9FD79 #79EBFD
square
#CD79FD #FD8B79 #A9FD79 #79EBFD
split-complementary
#CD79FD #EBFD79 #79FD8B
monochromatic
#9F04F8 #B73DFC #CD79FD #E3B5FE #F4E1FF

Accessibility & contrast

On white

2.71
#CD79FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#CD79FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79FD
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79FD#FFFFFF#000000##000000
##CD79FD1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5699FF
Deuteranopia (green-blind)
#719FFA
Tritanopia (blue-blind)
#C88FB0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd79fd;
/* rgb */ color: rgb(205, 121, 253);
/* oklch */ color: oklch(71.9% 0.199 311.8);
Tailwind
colors: {
  custom: {
    50: '#dfa2fe',
    500: '#cd79fd',
    950: '#000000',
  },
}
SCSS
$custom: #cd79fd;
$custom-light: #dfa2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79fd",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 253
  },
  "hsl": {
    "h": 278.182,
    "s": 97.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.71918,
    "c": 0.19903,
    "h": 311.8
  },
  "luminance": 0.33746
}

Semantic roles & 50–950 ramp

primary
#CD79FD
secondary
#E1F7D4
accent
#E60053
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CD79FD

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

Preview Lab → · Contrast checker → · Palette generator →

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