#CC93F7#CC93F7

#CC93F7 is a light, vivid violet. Relative luminance 0.404; OKLCH L 75.5% C 0.150 H 309.4°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#CC93F7
RGBrgb(204, 147, 247)
HSLhsl(274, 86%, 77%)
HSVhsv(274, 40%, 97%)
CMYKcmyk(17.4%, 40.5%, 0%, 3.1%)
CIE-LABlab(69.77, 39.56, -41.91)
CIE-LCHlch(69.77, 57.63, 313.35°)
OKLaboklab(75.54% 0.0955 -0.1162)
OKLCHoklch(75.54% 0.15 309.4)
XYZxyz(52.1210, 40.4209, 93.0339)
Luminance0.4042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC93F7 #BEF793
analogous
#9A93F7 #CC93F7 #F793F0
triadic
#CC93F7 #F7CC93 #93F7CC
tetradic
#CC93F7 #F79A93 #BEF793 #93F0F7
square
#CC93F7 #F79A93 #BEF793 #93F0F7
split-complementary
#CC93F7 #F0F793 #93F79A
monochromatic
#9621EF #B15AF3 #CC93F7 #E7CCFB #F2E3FD

Accessibility & contrast

On white

2.31
#CC93F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#CC93F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC93F7
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC93F7#FFFFFF#000000##000000
##CC93F71.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA8FB
Deuteranopia (green-blind)
#8CABF4
Tritanopia (blue-blind)
#C7A2B9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cc93f7;
/* rgb */ color: rgb(204, 147, 247);
/* oklch */ color: oklch(75.5% 0.150 309.4);
Tailwind
colors: {
  custom: {
    50: '#ddb3fa',
    500: '#cc93f7',
    950: '#000000',
  },
}
SCSS
$custom: #cc93f7;
$custom-light: #ddb3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc93f7",
  "rgb": {
    "r": 204,
    "g": 147,
    "b": 247
  },
  "hsl": {
    "h": 274.2,
    "s": 86.207,
    "l": 77.255
  },
  "oklch": {
    "l": 0.75537,
    "c": 0.15042,
    "h": 309.4
  },
  "luminance": 0.4042
}

Semantic roles & 50–950 ramp

primary
#CC93F7
secondary
#E3F5D6
accent
#E30363
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CC93F7

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

Preview Lab → · Contrast checker → · Palette generator →

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