#C8A2F8#C8A2F8

#C8A2F8 is a light, vivid violet. Relative luminance 0.449; OKLCH L 77.8% C 0.126 H 303.9°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#C8A2F8
RGBrgb(200, 162, 248)
HSLhsl(267, 86%, 80%)
HSVhsv(267, 35%, 97%)
CMYKcmyk(19.4%, 34.7%, 0%, 2.7%)
CIE-LABlab(72.82, 30.43, -37.71)
CIE-LCHlch(72.82, 48.46, 308.90°)
OKLaboklab(77.78% 0.0701 -0.1043)
OKLCHoklch(77.78% 0.126 303.9)
XYZxyz(53.6796, 44.8975, 94.6269)
Luminance0.4490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A2F8 #D2F8A2
analogous
#A2A7F8 #C8A2F8 #F3A2F8
triadic
#C8A2F8 #F8C8A2 #A2F8C8
tetradic
#C8A2F8 #F8A2A7 #D2F8A2 #A2F8F3
square
#C8A2F8 #F8A2A7 #D2F8A2 #A2F8F3
split-complementary
#C8A2F8 #F8F3A2 #A7F8A2
monochromatic
#8530EF #A669F4 #C8A2F8 #EADBFC #EEE3FD

Accessibility & contrast

On white

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

On black

9.98
#C8A2F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A2F8
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A2F8#FFFFFF#000000##000000
##C8A2F81.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB2FB
Deuteranopia (green-blind)
#97B3F6
Tritanopia (blue-blind)
#C0AFC2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8a2f8;
/* rgb */ color: rgb(200, 162, 248);
/* oklch */ color: oklch(77.8% 0.126 303.9);
Tailwind
colors: {
  custom: {
    50: '#dabefb',
    500: '#c8a2f8',
    950: '#000000',
  },
}
SCSS
$custom: #c8a2f8;
$custom-light: #dabefb;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a2f8",
  "rgb": {
    "r": 200,
    "g": 162,
    "b": 248
  },
  "hsl": {
    "h": 266.512,
    "s": 86,
    "l": 80.392
  },
  "oklch": {
    "l": 0.77777,
    "c": 0.12568,
    "h": 303.9
  },
  "luminance": 0.44897
}

Semantic roles & 50–950 ramp

primary
#C8A2F8
secondary
#E7F5D6
accent
#E30380
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #C8A2F8

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

Preview Lab → · Contrast checker → · Palette generator →

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