#CD79FC#CD79FC

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

Color values

HEX#CD79FC
RGBrgb(205, 121, 252)
HSLhsl(278, 96%, 73%)
HSVhsv(278, 52%, 99%)
CMYKcmyk(18.7%, 52%, 0%, 1.2%)
CIE-LABlab(64.71, 54.61, -52.60)
CIE-LCHlch(64.71, 75.82, 316.07°)
OKLaboklab(71.86% 0.1325 -0.1471)
OKLCHoklch(71.86% 0.198 312)
XYZxyz(49.5818, 33.6833, 95.9662)
Luminance0.3368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79FC #A8FC79
analogous
#8B79FC #CD79FC #FC79EA
triadic
#CD79FC #FCCD79 #79FCCD
tetradic
#CD79FC #FC8B79 #A8FC79 #79EAFC
square
#CD79FC #FC8B79 #A8FC79 #79EAFC
split-complementary
#CD79FC #EAFC79 #79FC8B
monochromatic
#9F05F5 #B73DFB #CD79FC #E3B5FD #F4E1FE

Accessibility & contrast

On white

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

On black

7.74
#CD79FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79FC
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79FC#FFFFFF#000000##000000
##CD79FC1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5799FF
Deuteranopia (green-blind)
#729FF9
Tritanopia (blue-blind)
#C88FAF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd79fc;
/* rgb */ color: rgb(205, 121, 252);
/* oklch */ color: oklch(71.9% 0.198 312.0);
Tailwind
colors: {
  custom: {
    50: '#dfa2fe',
    500: '#cd79fc',
    950: '#000000',
  },
}
SCSS
$custom: #cd79fc;
$custom-light: #dfa2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79fc",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 252
  },
  "hsl": {
    "h": 278.473,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71864,
    "c": 0.19796,
    "h": 312
  },
  "luminance": 0.33682
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD79FC

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

Preview Lab → · Contrast checker → · Palette generator →

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