#CC6BFA#CC6BFA

#CC6BFA is a light, highly saturated purple. Relative luminance 0.303; OKLCH L 69.7% C 0.216 H 313.5°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#CC6BFA
RGBrgb(204, 107, 250)
HSLhsl(281, 93%, 70%)
HSVhsv(281, 57%, 98%)
CMYKcmyk(18.4%, 57.2%, 0%, 2%)
CIE-LABlab(61.87, 60.87, -56.01)
CIE-LCHlch(61.87, 82.72, 317.38°)
OKLaboklab(69.72% 0.1489 -0.157)
OKLCHoklch(69.72% 0.216 313.5)
XYZxyz(47.4119, 30.2562, 93.7664)
Luminance0.3025 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6BFA #99FA6B
analogous
#846BFA #CC6BFA #FA6BE1
triadic
#CC6BFA #FACC6B #6BFACC
tetradic
#CC6BFA #FA846B #99FA6B #6BE1FA
square
#CC6BFA #FA846B #99FA6B #6BE1FA
split-complementary
#CC6BFA #E1FA6B #6BFA84
monochromatic
#9C08E3 #B830F8 #CC6BFA #E0A6FC #F5E1FE

Accessibility & contrast

On white

2.98
#CC6BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#CC6BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6BFA
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6BFA#FFFFFF#000000##000000
##CC6BFA1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4090FF
Deuteranopia (green-blind)
#6598F6
Tritanopia (blue-blind)
#C884A9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cc6bfa;
/* rgb */ color: rgb(204, 107, 250);
/* oklch */ color: oklch(69.7% 0.216 313.5);
Tailwind
colors: {
  custom: {
    50: '#df9afc',
    500: '#cc6bfa',
    950: '#000000',
  },
}
SCSS
$custom: #cc6bfa;
$custom-light: #df9afc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6bfa",
  "rgb": {
    "r": 204,
    "g": 107,
    "b": 250
  },
  "hsl": {
    "h": 280.699,
    "s": 93.464,
    "l": 70
  },
  "oklch": {
    "l": 0.69723,
    "c": 0.21636,
    "h": 313.5
  },
  "luminance": 0.30255
}

Semantic roles & 50–950 ramp

primary
#CC6BFA
secondary
#D9F4CC
accent
#E6004A
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CC6BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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