#CD77F7#CD77F7

#CD77F7 is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.3% C 0.196 H 313.5°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#CD77F7
RGBrgb(205, 119, 247)
HSLhsl(280, 89%, 72%)
HSVhsv(280, 52%, 97%)
CMYKcmyk(17%, 51.8%, 0%, 3.1%)
CIE-LABlab(64.07, 54.58, -50.86)
CIE-LCHlch(64.07, 74.61, 317.02°)
OKLaboklab(71.31% 0.1347 -0.142)
OKLCHoklch(71.31% 0.196 313.5)
XYZxyz(48.5594, 32.8894, 91.7679)
Luminance0.3289 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD77F7 #A1F777
analogous
#8D77F7 #CD77F7 #F777E1
triadic
#CD77F7 #F7CD77 #77F7CD
tetradic
#CD77F7 #F78D77 #A1F777 #77E1F7
square
#CD77F7 #F78D77 #A1F777 #77E1F7
split-complementary
#CD77F7 #E1F777 #77F78D
monochromatic
#9F0EE6 #B83DF4 #CD77F7 #E2B1FA #F4E2FD

Accessibility & contrast

On white

2.77
#CD77F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#CD77F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD77F7
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD77F7#FFFFFF#000000##000000
##CD77F71.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5897FB
Deuteranopia (green-blind)
#739DF4
Tritanopia (blue-blind)
#C98CAC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd77f7;
/* rgb */ color: rgb(205, 119, 247);
/* oklch */ color: oklch(71.3% 0.196 313.5);
Tailwind
colors: {
  custom: {
    50: '#dfa1fa',
    500: '#cd77f7',
    950: '#000000',
  },
}
SCSS
$custom: #cd77f7;
$custom-light: #dfa1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cd77f7",
  "rgb": {
    "r": 205,
    "g": 119,
    "b": 247
  },
  "hsl": {
    "h": 280.313,
    "s": 88.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71311,
    "c": 0.19572,
    "h": 313.5
  },
  "luminance": 0.32888
}

Semantic roles & 50–950 ramp

primary
#CD77F7
secondary
#DFF5D5
accent
#E6004B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD77F7

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

Preview Lab → · Contrast checker → · Palette generator →

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