#C2A7EA#C2A7EA

#C2A7EA is a light, moderate violet. Relative luminance 0.450; OKLCH L 77.5% C 0.098 H 302.6°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#C2A7EA
RGBrgb(194, 167, 234)
HSLhsl(264, 61%, 79%)
HSVhsv(264, 29%, 92%)
CMYKcmyk(17.1%, 28.6%, 0%, 8.2%)
CIE-LABlab(72.92, 22.79, -30.00)
CIE-LCHlch(72.92, 37.67, 307.22°)
OKLaboklab(77.54% 0.0528 -0.0824)
OKLCHoklch(77.54% 0.098 302.6)
XYZxyz(50.9151, 45.0473, 83.8386)
Luminance0.4505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A7EA #CFEAA7
analogous
#A7ADEA #C2A7EA #E3A7EA
triadic
#C2A7EA #EAC2A7 #A7EAC2
tetradic
#C2A7EA #EAA7AD #CFEAA7 #A7EAE3
square
#C2A7EA #EAA7AD #CFEAA7 #A7EAE3
split-complementary
#C2A7EA #EAE3A7 #ADEAA7
monochromatic
#7D44D2 #A076DE #C2A7EA #E4D8F6 #EEE6F9

Accessibility & contrast

On white

2.10
#C2A7EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#C2A7EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A7EA
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A7EA#FFFFFF#000000##000000
##C2A7EA1.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B2ED
Deuteranopia (green-blind)
#9EB3E8
Tritanopia (blue-blind)
#BCB1BF
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c2a7ea;
/* rgb */ color: rgb(194, 167, 234);
/* oklch */ color: oklch(77.5% 0.098 302.6);
Tailwind
colors: {
  custom: {
    50: '#d5c1f1',
    500: '#c2a7ea',
    950: '#000000',
  },
}
SCSS
$custom: #c2a7ea;
$custom-light: #d5c1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a7ea",
  "rgb": {
    "r": 194,
    "g": 167,
    "b": 234
  },
  "hsl": {
    "h": 264.179,
    "s": 61.468,
    "l": 78.627
  },
  "oklch": {
    "l": 0.77544,
    "c": 0.09785,
    "h": 302.6
  },
  "luminance": 0.45047
}

Semantic roles & 50–950 ramp

primary
#C2A7EA
secondary
#E8F0DB
accent
#C91C84
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#141216
muted
#838184

Preview Lab

Preview with #C2A7EA

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

Preview Lab → · Contrast checker → · Palette generator →

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