#CD79FF#CD79FF

#CD79FF is a light, highly saturated violet. Relative luminance 0.339; OKLCH L 72.0% C 0.201 H 311.3°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#CD79FF
RGBrgb(205, 121, 255)
HSLhsl(278, 100%, 74%)
HSVhsv(278, 53%, 100%)
CMYKcmyk(19.6%, 52.5%, 0%, 0%)
CIE-LABlab(64.86, 55.24, -54.00)
CIE-LCHlch(64.86, 77.25, 315.65°)
OKLaboklab(72.03% 0.1328 -0.1511)
OKLCHoklch(72.03% 0.201 311.3)
XYZxyz(50.0609, 33.8749, 98.4897)
Luminance0.3387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79FF #ABFF79
analogous
#8A79FF #CD79FF #FF79EE
triadic
#CD79FF #FFCD79 #79FFCD
tetradic
#CD79FF #FF8A79 #ABFF79 #79EEFF
square
#CD79FF #FF8A79 #ABFF79 #79EEFF
split-complementary
#CD79FF #EEFF79 #79FF8A
monochromatic
#9F00FE #B63CFF #CD79FF #E4B6FF #F4E0FF

Accessibility & contrast

On white

2.70
#CD79FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#CD79FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79FF
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79FF#FFFFFF#000000##000000
##CD79FF1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5499FF
Deuteranopia (green-blind)
#709FFC
Tritanopia (blue-blind)
#C790B1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd79ff;
/* rgb */ color: rgb(205, 121, 255);
/* oklch */ color: oklch(72.0% 0.201 311.3);
Tailwind
colors: {
  custom: {
    50: '#dfa2ff',
    500: '#cd79ff',
    950: '#000000',
  },
}
SCSS
$custom: #cd79ff;
$custom-light: #dfa2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79ff",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 255
  },
  "hsl": {
    "h": 277.612,
    "s": 100,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72027,
    "c": 0.20116,
    "h": 311.3
  },
  "luminance": 0.33874
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD79FF

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

Preview Lab → · Contrast checker → · Palette generator →

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