#CD76FB#CD76FB

#CD76FB is a light, highly saturated violet. Relative luminance 0.329; OKLCH L 71.4% C 0.201 H 312.6°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#CD76FB
RGBrgb(205, 118, 251)
HSLhsl(279, 94%, 72%)
HSVhsv(279, 53%, 98%)
CMYKcmyk(18.3%, 53%, 0%, 1.6%)
CIE-LABlab(64.08, 55.92, -53.05)
CIE-LCHlch(64.08, 77.08, 316.51°)
OKLaboklab(71.38% 0.1363 -0.1483)
OKLCHoklch(71.38% 0.201 312.6)
XYZxyz(49.0648, 32.9022, 95.0142)
Luminance0.3290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD76FB #A4FB76
analogous
#8B76FB #CD76FB #FB76E7
triadic
#CD76FB #FBCD76 #76FBCD
tetradic
#CD76FB #FB8B76 #A4FB76 #76E7FB
square
#CD76FB #FB8B76 #A4FB76 #76E7FB
split-complementary
#CD76FB #E7FB76 #76FB8B
monochromatic
#9F07F0 #B73BF9 #CD76FB #E3B1FD #F4E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD76FB#FFFFFF#000000##000000
##CD76FB1.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)
#5397FF
Deuteranopia (green-blind)
#6F9DF8
Tritanopia (blue-blind)
#C88CAE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd76fb;
/* rgb */ color: rgb(205, 118, 251);
/* oklch */ color: oklch(71.4% 0.201 312.6);
Tailwind
colors: {
  custom: {
    50: '#dfa0fd',
    500: '#cd76fb',
    950: '#000000',
  },
}
SCSS
$custom: #cd76fb;
$custom-light: #dfa0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd76fb",
  "rgb": {
    "r": 205,
    "g": 118,
    "b": 251
  },
  "hsl": {
    "h": 279.248,
    "s": 94.326,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71384,
    "c": 0.20146,
    "h": 312.6
  },
  "luminance": 0.32901
}

Semantic roles & 50–950 ramp

primary
#CD76FB
secondary
#E0F6D5
accent
#E6004F
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F18
muted
#847F86

Preview Lab

Preview with #CD76FB

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

Preview Lab → · Contrast checker → · Palette generator →

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