#C7A0FA#C7A0FA

#C7A0FA is a light, vivid violet. Relative luminance 0.442; OKLCH L 77.4% C 0.131 H 303.4°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#C7A0FA
RGBrgb(199, 160, 250)
HSLhsl(266, 90%, 80%)
HSVhsv(266, 36%, 98%)
CMYKcmyk(20.4%, 36%, 0%, 2%)
CIE-LABlab(72.35, 31.68, -39.54)
CIE-LCHlch(72.35, 50.67, 308.71°)
OKLaboklab(77.42% 0.0722 -0.1095)
OKLCHoklch(77.42% 0.131 303.4)
XYZxyz(53.3757, 44.1859, 96.1407)
Luminance0.4419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A0FA #D3FAA0
analogous
#A0A6FA #C7A0FA #F4A0FA
triadic
#C7A0FA #FAC7A0 #A0FAC7
tetradic
#C7A0FA #FAA0A6 #D3FAA0 #A0FAF4
square
#C7A0FA #FAA0A6 #D3FAA0 #A0FAF4
split-complementary
#C7A0FA #FAF4A0 #A6FAA0
monochromatic
#822CF4 #A566F7 #C7A0FA #E9DAFD #EEE2FD

Accessibility & contrast

On white

2.13
#C7A0FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#C7A0FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A0FA
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A0FA#FFFFFF#000000##000000
##C7A0FA1.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB0FD
Deuteranopia (green-blind)
#94B1F8
Tritanopia (blue-blind)
#BFAEC1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c7a0fa;
/* rgb */ color: rgb(199, 160, 250);
/* oklch */ color: oklch(77.4% 0.131 303.4);
Tailwind
colors: {
  custom: {
    50: '#d9bcfc',
    500: '#c7a0fa',
    950: '#000000',
  },
}
SCSS
$custom: #c7a0fa;
$custom-light: #d9bcfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a0fa",
  "rgb": {
    "r": 199,
    "g": 160,
    "b": 250
  },
  "hsl": {
    "h": 266,
    "s": 90,
    "l": 80.392
  },
  "oklch": {
    "l": 0.77424,
    "c": 0.13122,
    "h": 303.4
  },
  "luminance": 0.44186
}

Semantic roles & 50–950 ramp

primary
#C7A0FA
secondary
#E8F6D5
accent
#E60082
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #C7A0FA

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

Preview Lab → · Contrast checker → · Palette generator →

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