#C8A2F7#C8A2F7

#C8A2F7 is a light, vivid violet. Relative luminance 0.448; OKLCH L 77.7% C 0.124 H 304.2°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#C8A2F7
RGBrgb(200, 162, 247)
HSLhsl(267, 84%, 80%)
HSVhsv(267, 34%, 97%)
CMYKcmyk(19%, 34.4%, 0%, 3.1%)
CIE-LABlab(72.78, 30.21, -37.24)
CIE-LCHlch(72.78, 47.95, 309.05°)
OKLaboklab(77.73% 0.0699 -0.1029)
OKLCHoklch(77.73% 0.124 304.2)
XYZxyz(53.5248, 44.8356, 93.8120)
Luminance0.4484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A2F7 #D1F7A2
analogous
#A2A6F7 #C8A2F7 #F3A2F7
triadic
#C8A2F7 #F7C8A2 #A2F7C8
tetradic
#C8A2F7 #F7A2A6 #D1F7A2 #A2F7F3
square
#C8A2F7 #F7A2A6 #D1F7A2 #A2F7F3
split-complementary
#C8A2F7 #F7F3A2 #A6F7A2
monochromatic
#8531ED #A76AF2 #C8A2F7 #E9DAFC #EEE3FD

Accessibility & contrast

On white

2.11
#C8A2F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#C8A2F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A2F7
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A2F7#FFFFFF#000000##000000
##C8A2F71.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B2FA
Deuteranopia (green-blind)
#97B3F5
Tritanopia (blue-blind)
#C1AFC1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8a2f7;
/* rgb */ color: rgb(200, 162, 247);
/* oklch */ color: oklch(77.7% 0.124 304.2);
Tailwind
colors: {
  custom: {
    50: '#dabefa',
    500: '#c8a2f7',
    950: '#000000',
  },
}
SCSS
$custom: #c8a2f7;
$custom-light: #dabefa;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a2f7",
  "rgb": {
    "r": 200,
    "g": 162,
    "b": 247
  },
  "hsl": {
    "h": 266.824,
    "s": 84.158,
    "l": 80.196
  },
  "oklch": {
    "l": 0.77733,
    "c": 0.12442,
    "h": 304.2
  },
  "luminance": 0.44835
}

Semantic roles & 50–950 ramp

primary
#C8A2F7
secondary
#E7F5D6
accent
#E1057E
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #C8A2F7

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

Preview Lab → · Contrast checker → · Palette generator →

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