#C7A2EA#C7A2EA

#C7A2EA is a light, moderate violet. Relative luminance 0.439; OKLCH L 77.1% C 0.108 H 307.5°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#C7A2EA
RGBrgb(199, 162, 234)
HSLhsl(271, 63%, 78%)
HSVhsv(271, 31%, 92%)
CMYKcmyk(15%, 30.8%, 0%, 8.2%)
CIE-LABlab(72.18, 27.08, -31.11)
CIE-LCHlch(72.18, 41.24, 311.04°)
OKLaboklab(77.08% 0.0656 -0.0854)
OKLCHoklch(77.08% 0.108 307.5)
XYZxyz(51.3220, 43.9237, 83.6004)
Luminance0.4392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A2EA #C5EAA2
analogous
#A3A2EA #C7A2EA #EAA2E9
triadic
#C7A2EA #EAC7A2 #A2EAC7
tetradic
#C7A2EA #EAA3A2 #C5EAA2 #A2E9EA
square
#C7A2EA #EAA3A2 #C5EAA2 #A2E9EA
split-complementary
#C7A2EA #E9EAA2 #A2EAA3
monochromatic
#8B3ED3 #A970DF #C7A2EA #E5D4F5 #F0E6F9

Accessibility & contrast

On white

2.15
#C7A2EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#C7A2EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A2EA
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A2EA#FFFFFF#000000##000000
##C7A2EA1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#95AFED
Deuteranopia (green-blind)
#9CB1E8
Tritanopia (blue-blind)
#C2ACBC
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c7a2ea;
/* rgb */ color: rgb(199, 162, 234);
/* oklch */ color: oklch(77.1% 0.108 307.5);
Tailwind
colors: {
  custom: {
    50: '#d9bdf1',
    500: '#c7a2ea',
    950: '#000000',
  },
}
SCSS
$custom: #c7a2ea;
$custom-light: #d9bdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a2ea",
  "rgb": {
    "r": 199,
    "g": 162,
    "b": 234
  },
  "hsl": {
    "h": 270.833,
    "s": 63.158,
    "l": 77.647
  },
  "oklch": {
    "l": 0.77079,
    "c": 0.10772,
    "h": 307.5
  },
  "luminance": 0.43923
}

Semantic roles & 50–950 ramp

primary
#C7A2EA
secondary
#E5F1DA
accent
#CB1B70
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141216
muted
#838184

Preview Lab

Preview with #C7A2EA

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

Preview Lab → · Contrast checker → · Palette generator →

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