#C8A2F1#C8A2F1

#C8A2F1 is a light, moderate violet. Relative luminance 0.445; OKLCH L 77.5% C 0.117 H 305.9°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#C8A2F1
RGBrgb(200, 162, 241)
HSLhsl(269, 74%, 79%)
HSVhsv(269, 33%, 95%)
CMYKcmyk(17%, 32.8%, 0%, 5.5%)
CIE-LABlab(72.54, 28.89, -34.35)
CIE-LCHlch(72.54, 44.89, 310.07°)
OKLaboklab(77.47% 0.0685 -0.0947)
OKLCHoklch(77.47% 0.117 305.9)
XYZxyz(52.6138, 44.4712, 89.0141)
Luminance0.4447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A2F1 #CBF1A2
analogous
#A2A4F1 #C8A2F1 #F0A2F1
triadic
#C8A2F1 #F1C8A2 #A2F1C8
tetradic
#C8A2F1 #F1A2A4 #CBF1A2 #A2F1F0
square
#C8A2F1 #F1A2A4 #CBF1A2 #A2F1F0
split-complementary
#C8A2F1 #F1F0A2 #A4F1A2
monochromatic
#8938E1 #A96DE9 #C8A2F1 #E7D7F9 #EFE4FB

Accessibility & contrast

On white

2.12
#C8A2F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#C8A2F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A2F1
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A2F1#FFFFFF#000000##000000
##C8A2F11.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B1F4
Deuteranopia (green-blind)
#9AB2EF
Tritanopia (blue-blind)
#C2AEBF
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c8a2f1;
/* rgb */ color: rgb(200, 162, 241);
/* oklch */ color: oklch(77.5% 0.117 305.9);
Tailwind
colors: {
  custom: {
    50: '#d9bef6',
    500: '#c8a2f1',
    950: '#000000',
  },
}
SCSS
$custom: #c8a2f1;
$custom-light: #d9bef6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a2f1",
  "rgb": {
    "r": 200,
    "g": 162,
    "b": 241
  },
  "hsl": {
    "h": 268.861,
    "s": 73.832,
    "l": 79.02
  },
  "oklch": {
    "l": 0.77469,
    "c": 0.11685,
    "h": 305.9
  },
  "luminance": 0.44471
}

Semantic roles & 50–950 ramp

primary
#C8A2F1
secondary
#E6F3D8
accent
#D61077
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185

Preview Lab

Preview with #C8A2F1

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

Preview Lab → · Contrast checker → · Palette generator →

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