#C6A2FA#C6A2FA

#C6A2FA is a light, vivid violet. Relative luminance 0.447; OKLCH L 77.7% C 0.128 H 302.3°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#C6A2FA
RGBrgb(198, 162, 250)
HSLhsl(265, 90%, 81%)
HSVhsv(265, 35%, 98%)
CMYKcmyk(20.8%, 35.2%, 0%, 2%)
CIE-LABlab(72.73, 30.29, -38.97)
CIE-LCHlch(72.73, 49.36, 307.86°)
OKLaboklab(77.69% 0.0683 -0.1079)
OKLCHoklch(77.69% 0.128 302.3)
XYZxyz(53.4607, 44.7486, 96.2448)
Luminance0.4475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6A2FA #D6FAA2
analogous
#A2AAFA #C6A2FA #F2A2FA
triadic
#C6A2FA #FAC6A2 #A2FAC6
tetradic
#C6A2FA #FAA2AA #D6FAA2 #A2FAF2
square
#C6A2FA #FAA2AA #D6FAA2 #A2FAF2
split-complementary
#C6A2FA #FAF2A2 #AAFAA2
monochromatic
#7F2EF4 #A268F7 #C6A2FA #EADCFD #EDE2FD

Accessibility & contrast

On white

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

On black

9.95
#C6A2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6A2FA
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6A2FA#FFFFFF#000000##000000
##C6A2FA1.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB2FD
Deuteranopia (green-blind)
#95B2F8
Tritanopia (blue-blind)
#BDB0C3
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c6a2fa;
/* rgb */ color: rgb(198, 162, 250);
/* oklch */ color: oklch(77.7% 0.128 302.3);
Tailwind
colors: {
  custom: {
    50: '#d8befc',
    500: '#c6a2fa',
    950: '#000000',
  },
}
SCSS
$custom: #c6a2fa;
$custom-light: #d8befc;
$custom-dark: #000000;
JSON
{
  "hex": "#c6a2fa",
  "rgb": {
    "r": 198,
    "g": 162,
    "b": 250
  },
  "hsl": {
    "h": 264.545,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.77687,
    "c": 0.12773,
    "h": 302.3
  },
  "luminance": 0.44749
}

Semantic roles & 50–950 ramp

primary
#C6A2FA
secondary
#E8F6D5
accent
#E60088
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #C6A2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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