#C7A0E8#C7A0E8

#C7A0E8 is a light, moderate violet. Relative luminance 0.431; OKLCH L 76.6% C 0.109 H 308.7°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#C7A0E8
RGBrgb(199, 160, 232)
HSLhsl(273, 61%, 77%)
HSVhsv(273, 31%, 91%)
CMYKcmyk(14.2%, 31%, 0%, 9%)
CIE-LABlab(71.63, 27.75, -30.86)
CIE-LCHlch(71.63, 41.50, 311.96°)
OKLaboklab(76.63% 0.068 -0.0847)
OKLCHoklch(76.63% 0.109 308.7)
XYZxyz(50.6868, 43.1104, 81.9792)
Luminance0.4311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A0E8 #C1E8A0
analogous
#A3A0E8 #C7A0E8 #E8A0E5
triadic
#C7A0E8 #E8C7A0 #A0E8C7
tetradic
#C7A0E8 #E8A3A0 #C1E8A0 #A0E5E8
square
#C7A0E8 #E8A3A0 #C1E8A0 #A0E5E8
split-complementary
#C7A0E8 #E5E8A0 #A0E8A3
monochromatic
#8D3DD0 #AA6FDC #C7A0E8 #E4D1F4 #F0E6F9

Accessibility & contrast

On white

2.18
#C7A0E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#C7A0E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A0E8
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A0E8#FFFFFF#000000##000000
##C7A0E81.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AEEB
Deuteranopia (green-blind)
#9BB0E6
Tritanopia (blue-blind)
#C3AABA
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c7a0e8;
/* rgb */ color: rgb(199, 160, 232);
/* oklch */ color: oklch(76.6% 0.109 308.7);
Tailwind
colors: {
  custom: {
    50: '#d9bcef',
    500: '#c7a0e8',
    950: '#000000',
  },
}
SCSS
$custom: #c7a0e8;
$custom-light: #d9bcef;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a0e8",
  "rgb": {
    "r": 199,
    "g": 160,
    "b": 232
  },
  "hsl": {
    "h": 272.5,
    "s": 61.017,
    "l": 76.863
  },
  "oklch": {
    "l": 0.76635,
    "c": 0.10862,
    "h": 308.7
  },
  "luminance": 0.4311
}

Semantic roles & 50–950 ramp

primary
#C7A0E8
secondary
#E5F0DB
accent
#C91D6C
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141216
muted
#838184

Preview Lab

Preview with #C7A0E8

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

Preview Lab → · Contrast checker → · Palette generator →

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