#CC7EF9#CC7EF9

#CC7EF9 is a light, vivid violet. Relative luminance 0.346; OKLCH L 72.3% C 0.187 H 311.9°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#CC7EF9
RGBrgb(204, 126, 249)
HSLhsl(278, 91%, 74%)
HSVhsv(278, 49%, 98%)
CMYKcmyk(18.1%, 49.4%, 0%, 2.4%)
CIE-LABlab(65.44, 51.15, -49.81)
CIE-LCHlch(65.44, 71.40, 315.76°)
OKLaboklab(72.33% 0.1245 -0.139)
OKLCHoklch(72.33% 0.187 311.9)
XYZxyz(49.4586, 34.5997, 93.6771)
Luminance0.3460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7EF9 #ABF97E
analogous
#8E7EF9 #CC7EF9 #F97EE8
triadic
#CC7EF9 #F9CC7E #7EF9CC
tetradic
#CC7EF9 #F98E7E #ABF97E #7EE8F9
square
#CC7EF9 #F98E7E #ABF97E #7EE8F9
split-complementary
#CC7EF9 #E8F97E #7EF98E
monochromatic
#9D0BF1 #B544F6 #CC7EF9 #E3B8FC #F3E2FE

Accessibility & contrast

On white

2.65
#CC7EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#CC7EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7EF9
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7EF9#FFFFFF#000000##000000
##CC7EF91.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#609BFD
Deuteranopia (green-blind)
#77A1F6
Tritanopia (blue-blind)
#C792B0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cc7ef9;
/* rgb */ color: rgb(204, 126, 249);
/* oklch */ color: oklch(72.3% 0.187 311.9);
Tailwind
colors: {
  custom: {
    50: '#dea5fc',
    500: '#cc7ef9',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ef9;
$custom-light: #dea5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ef9",
  "rgb": {
    "r": 204,
    "g": 126,
    "b": 249
  },
  "hsl": {
    "h": 278.049,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72328,
    "c": 0.18659,
    "h": 311.9
  },
  "luminance": 0.34599
}

Semantic roles & 50–950 ramp

primary
#CC7EF9
secondary
#E1F6D5
accent
#E60054
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC7EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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