#CC7BFA#CC7BFA

#CC7BFA is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.9% C 0.192 H 311.9°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#CC7BFA
RGBrgb(204, 123, 250)
HSLhsl(278, 93%, 73%)
HSVhsv(278, 51%, 98%)
CMYKcmyk(18.4%, 50.8%, 0%, 2%)
CIE-LABlab(64.89, 52.91, -51.23)
CIE-LCHlch(64.89, 73.64, 315.92°)
OKLaboklab(71.94% 0.1286 -0.1431)
OKLCHoklch(71.94% 0.192 311.9)
XYZxyz(49.2371, 33.9065, 94.3748)
Luminance0.3391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7BFA #A9FA7B
analogous
#8C7BFA #CC7BFA #FA7BE8
triadic
#CC7BFA #FACC7B #7BFACC
tetradic
#CC7BFA #FA8C7B #A9FA7B #7BE8FA
square
#CC7BFA #FA8C7B #A9FA7B #7BE8FA
split-complementary
#CC7BFA #E8FA7B #7BFA8C
monochromatic
#9D09F1 #B540F8 #CC7BFA #E3B6FC #F4E2FE

Accessibility & contrast

On white

2.70
#CC7BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#CC7BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7BFA
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7BFA#FFFFFF#000000##000000
##CC7BFA1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B99FE
Deuteranopia (green-blind)
#749FF7
Tritanopia (blue-blind)
#C790AF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cc7bfa;
/* rgb */ color: rgb(204, 123, 250);
/* oklch */ color: oklch(71.9% 0.192 311.9);
Tailwind
colors: {
  custom: {
    50: '#dea4fc',
    500: '#cc7bfa',
    950: '#000000',
  },
}
SCSS
$custom: #cc7bfa;
$custom-light: #dea4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7bfa",
  "rgb": {
    "r": 204,
    "g": 123,
    "b": 250
  },
  "hsl": {
    "h": 278.268,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71938,
    "c": 0.19235,
    "h": 311.9
  },
  "luminance": 0.33905
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC7BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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