#CD79FB#CD79FB

#CD79FB is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.8% C 0.197 H 312.3°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#CD79FB
RGBrgb(205, 121, 251)
HSLhsl(279, 94%, 73%)
HSVhsv(279, 52%, 98%)
CMYKcmyk(18.3%, 51.8%, 0%, 1.6%)
CIE-LABlab(64.66, 54.40, -52.13)
CIE-LCHlch(64.66, 75.35, 316.22°)
OKLaboklab(71.81% 0.1324 -0.1457)
OKLCHoklch(71.81% 0.197 312.3)
XYZxyz(49.4238, 33.6200, 95.1338)
Luminance0.3362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79FB #A7FB79
analogous
#8C79FB #CD79FB #FB79E8
triadic
#CD79FB #FBCD79 #79FBCD
tetradic
#CD79FB #FB8C79 #A7FB79 #79E8FB
square
#CD79FB #FB8C79 #A7FB79 #79E8FB
split-complementary
#CD79FB #E8FB79 #79FB8C
monochromatic
#9F07F2 #B73EF9 #CD79FB #E3B4FD #F4E1FE

Accessibility & contrast

On white

2.72
#CD79FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#CD79FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79FB
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79FB#FFFFFF#000000##000000
##CD79FB1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5898FF
Deuteranopia (green-blind)
#729FF8
Tritanopia (blue-blind)
#C88EAF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd79fb;
/* rgb */ color: rgb(205, 121, 251);
/* oklch */ color: oklch(71.8% 0.197 312.3);
Tailwind
colors: {
  custom: {
    50: '#dfa2fd',
    500: '#cd79fb',
    950: '#000000',
  },
}
SCSS
$custom: #cd79fb;
$custom-light: #dfa2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79fb",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 251
  },
  "hsl": {
    "h": 278.769,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71811,
    "c": 0.19688,
    "h": 312.3
  },
  "luminance": 0.33619
}

Semantic roles & 50–950 ramp

primary
#CD79FB
secondary
#E1F6D5
accent
#E60051
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CD79FB

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

Preview Lab → · Contrast checker → · Palette generator →

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