#CD77FC#CD77FC

#CD77FC is a light, highly saturated violet. Relative luminance 0.332; OKLCH L 71.6% C 0.201 H 312.2°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#CD77FC
RGBrgb(205, 119, 252)
HSLhsl(279, 96%, 73%)
HSVhsv(279, 53%, 99%)
CMYKcmyk(18.7%, 52.8%, 0%, 1.2%)
CIE-LABlab(64.32, 55.62, -53.21)
CIE-LCHlch(64.32, 76.98, 316.27°)
OKLaboklab(71.58% 0.1351 -0.1488)
OKLCHoklch(71.58% 0.201 312.2)
XYZxyz(49.3413, 33.2022, 95.8860)
Luminance0.3320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD77FC #A6FC77
analogous
#8A77FC #CD77FC #FC77E8
triadic
#CD77FC #FCCD77 #77FCCD
tetradic
#CD77FC #FC8A77 #A6FC77 #77E8FC
square
#CD77FC #FC8A77 #A6FC77 #77E8FC
split-complementary
#CD77FC #E8FC77 #77FC8A
monochromatic
#9F05F3 #B73BFB #CD77FC #E3B3FD #F4E1FE

Accessibility & contrast

On white

2.75
#CD77FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#CD77FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD77FC
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD77FC#FFFFFF#000000##000000
##CD77FC1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5497FF
Deuteranopia (green-blind)
#709EF9
Tritanopia (blue-blind)
#C88DAF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd77fc;
/* rgb */ color: rgb(205, 119, 252);
/* oklch */ color: oklch(71.6% 0.201 312.2);
Tailwind
colors: {
  custom: {
    50: '#dfa1fe',
    500: '#cd77fc',
    950: '#000000',
  },
}
SCSS
$custom: #cd77fc;
$custom-light: #dfa1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd77fc",
  "rgb": {
    "r": 205,
    "g": 119,
    "b": 252
  },
  "hsl": {
    "h": 278.797,
    "s": 95.683,
    "l": 72.745
  },
  "oklch": {
    "l": 0.7158,
    "c": 0.201,
    "h": 312.2
  },
  "luminance": 0.33201
}

Semantic roles & 50–950 ramp

primary
#CD77FC
secondary
#E0F7D4
accent
#E60051
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F18
muted
#847F86

Preview Lab

Preview with #CD77FC

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

Preview Lab → · Contrast checker → · Palette generator →

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