#CD79F7#CD79F7

#CD79F7 is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.6% C 0.193 H 313.3°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#CD79F7
RGBrgb(205, 121, 247)
HSLhsl(280, 89%, 72%)
HSVhsv(280, 51%, 97%)
CMYKcmyk(17%, 51%, 0%, 3.1%)
CIE-LABlab(64.46, 53.56, -50.25)
CIE-LCHlch(64.46, 73.44, 316.83°)
OKLaboklab(71.6% 0.1321 -0.1402)
OKLCHoklch(71.6% 0.193 313.3)
XYZxyz(48.7999, 33.3705, 91.8481)
Luminance0.3337 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79F7 #A3F779
analogous
#8E79F7 #CD79F7 #F779E2
triadic
#CD79F7 #F7CD79 #79F7CD
tetradic
#CD79F7 #F78E79 #A3F779 #79E2F7
square
#CD79F7 #F78E79 #A3F779 #79E2F7
split-complementary
#CD79F7 #E2F779 #79F78E
monochromatic
#9F0EE8 #B73FF4 #CD79F7 #E3B3FA #F4E2FD

Accessibility & contrast

On white

2.74
#CD79F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#CD79F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79F7
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79F7#FFFFFF#000000##000000
##CD79F71.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B98FB
Deuteranopia (green-blind)
#759EF4
Tritanopia (blue-blind)
#C98DAD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd79f7;
/* rgb */ color: rgb(205, 121, 247);
/* oklch */ color: oklch(71.6% 0.193 313.3);
Tailwind
colors: {
  custom: {
    50: '#dfa2fa',
    500: '#cd79f7',
    950: '#000000',
  },
}
SCSS
$custom: #cd79f7;
$custom-light: #dfa2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79f7",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 247
  },
  "hsl": {
    "h": 280,
    "s": 88.732,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71598,
    "c": 0.19262,
    "h": 313.3
  },
  "luminance": 0.33369
}

Semantic roles & 50–950 ramp

primary
#CD79F7
secondary
#E0F5D6
accent
#E5004D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD79F7

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

Preview Lab → · Contrast checker → · Palette generator →

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