#CC7FFB#CC7FFB

#CC7FFB is a light, vivid violet. Relative luminance 0.350; OKLCH L 72.6% C 0.187 H 311.2°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#CC7FFB
RGBrgb(204, 127, 251)
HSLhsl(277, 94%, 74%)
HSVhsv(277, 49%, 98%)
CMYKcmyk(18.7%, 49.4%, 0%, 1.6%)
CIE-LABlab(65.73, 51.06, -50.44)
CIE-LCHlch(65.73, 71.77, 315.35°)
OKLaboklab(72.58% 0.1234 -0.1408)
OKLCHoklch(72.58% 0.187 311.2)
XYZxyz(49.9007, 34.9821, 95.3716)
Luminance0.3498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FFB #AEFB7F
analogous
#8E7FFB #CC7FFB #FB7FEC
triadic
#CC7FFB #FBCC7F #7FFBCC
tetradic
#CC7FFB #FB8E7F #AEFB7F #7FECFB
square
#CC7FFB #FB8E7F #AEFB7F #7FECFB
split-complementary
#CC7FFB #ECFB7F #7FFB8E
monochromatic
#9D08F7 #B444F9 #CC7FFB #E4BAFD #F3E1FE

Accessibility & contrast

On white

2.63
#CC7FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#CC7FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7FFB
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7FFB#FFFFFF#000000##000000
##CC7FFB1.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#77A1F8
Tritanopia (blue-blind)
#C793B2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cc7ffb;
/* rgb */ color: rgb(204, 127, 251);
/* oklch */ color: oklch(72.6% 0.187 311.2);
Tailwind
colors: {
  custom: {
    50: '#dea6fd',
    500: '#cc7ffb',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ffb;
$custom-light: #dea6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ffb",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 277.258,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72581,
    "c": 0.18721,
    "h": 311.2
  },
  "luminance": 0.34981
}

Semantic roles & 50–950 ramp

primary
#CC7FFB
secondary
#E1F6D5
accent
#E60057
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CC7FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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