#CD79FE#CD79FE

#CD79FE is a light, highly saturated violet. Relative luminance 0.338; OKLCH L 72.0% C 0.200 H 311.5°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#CD79FE
RGBrgb(205, 121, 254)
HSLhsl(278, 99%, 74%)
HSVhsv(278, 52%, 100%)
CMYKcmyk(19.3%, 52.4%, 0%, 0.4%)
CIE-LABlab(64.81, 55.03, -53.54)
CIE-LCHlch(64.81, 76.78, 315.79°)
OKLaboklab(71.97% 0.1327 -0.1498)
OKLCHoklch(71.97% 0.2 311.5)
XYZxyz(49.9004, 33.8107, 97.6441)
Luminance0.3381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79FE #AAFE79
analogous
#8A79FE #CD79FE #FE79EC
triadic
#CD79FE #FECD79 #79FECD
tetradic
#CD79FE #FE8A79 #AAFE79 #79ECFE
square
#CD79FE #FE8A79 #AAFE79 #79ECFE
split-complementary
#CD79FE #ECFE79 #79FE8A
monochromatic
#9F02FB #B63CFE #CD79FE #E4B6FE #F4E1FF

Accessibility & contrast

On white

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

On black

7.76
#CD79FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79FE
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79FE#FFFFFF#000000##000000
##CD79FE1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5599FF
Deuteranopia (green-blind)
#709FFB
Tritanopia (blue-blind)
#C88FB0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd79fe;
/* rgb */ color: rgb(205, 121, 254);
/* oklch */ color: oklch(72.0% 0.200 311.5);
Tailwind
colors: {
  custom: {
    50: '#dfa2ff',
    500: '#cd79fe',
    950: '#000000',
  },
}
SCSS
$custom: #cd79fe;
$custom-light: #dfa2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79fe",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 254
  },
  "hsl": {
    "h": 277.895,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71972,
    "c": 0.20009,
    "h": 311.5
  },
  "luminance": 0.3381
}

Semantic roles & 50–950 ramp

primary
#CD79FE
secondary
#E1F7D4
accent
#E60055
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F18
muted
#847F86

Preview Lab

Preview with #CD79FE

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

Preview Lab → · Contrast checker → · Palette generator →

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