#C8A5F2#C8A5F2

#C8A5F2 is a light, moderate violet. Relative luminance 0.456; OKLCH L 78.0% C 0.113 H 304.7°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#C8A5F2
RGBrgb(200, 165, 242)
HSLhsl(267, 75%, 80%)
HSVhsv(267, 32%, 95%)
CMYKcmyk(17.4%, 31.8%, 0%, 5.1%)
CIE-LABlab(73.29, 27.46, -33.74)
CIE-LCHlch(73.29, 43.51, 309.14°)
OKLaboklab(78.05% 0.0645 -0.0929)
OKLCHoklch(78.05% 0.113 304.7)
XYZxyz(53.2984, 45.6006, 89.9811)
Luminance0.4560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A5F2 #CFF2A5
analogous
#A5A9F2 #C8A5F2 #EFA5F2
triadic
#C8A5F2 #F2C8A5 #A5F2C8
tetradic
#C8A5F2 #F2A5A9 #CFF2A5 #A5F2EF
square
#C8A5F2 #F2A5A9 #CFF2A5 #A5F2EF
split-complementary
#C8A5F2 #F2EFA5 #A9F2A5
monochromatic
#873AE3 #A770EA #C8A5F2 #E9DAFA #EFE4FB

Accessibility & contrast

On white

2.08
#C8A5F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#C8A5F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A5F2
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A5F2#FFFFFF#000000##000000
##C8A5F21.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B3F5
Deuteranopia (green-blind)
#9CB4F0
Tritanopia (blue-blind)
#C2B0C1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c8a5f2;
/* rgb */ color: rgb(200, 165, 242);
/* oklch */ color: oklch(78.0% 0.113 304.7);
Tailwind
colors: {
  custom: {
    50: '#d9c0f6',
    500: '#c8a5f2',
    950: '#000000',
  },
}
SCSS
$custom: #c8a5f2;
$custom-light: #d9c0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a5f2",
  "rgb": {
    "r": 200,
    "g": 165,
    "b": 242
  },
  "hsl": {
    "h": 267.273,
    "s": 74.757,
    "l": 79.804
  },
  "oklch": {
    "l": 0.7805,
    "c": 0.11312,
    "h": 304.7
  },
  "luminance": 0.456
}

Semantic roles & 50–950 ramp

primary
#C8A5F2
secondary
#E7F3D8
accent
#D70F7C
background
#FDFBFF
surface
#FBF7FE
border
#D4D0D6
text
#151217
muted
#838185

Preview Lab

Preview with #C8A5F2

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

Preview Lab → · Contrast checker → · Palette generator →

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