#C0A7FA#C0A7FA

#C0A7FA is a light, moderate violet. Relative luminance 0.457; OKLCH L 78.1% C 0.119 H 297.4°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#C0A7FA
RGBrgb(192, 167, 250)
HSLhsl(258, 89%, 82%)
HSVhsv(258, 33%, 98%)
CMYKcmyk(23.2%, 33.2%, 0%, 2%)
CIE-LABlab(73.38, 25.79, -37.99)
CIE-LCHlch(73.38, 45.91, 304.17°)
OKLaboklab(78.06% 0.0546 -0.1052)
OKLCHoklch(78.06% 0.119 297.4)
XYZxyz(52.8083, 45.7456, 96.4716)
Luminance0.4575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0A7FA #E1FAA7
analogous
#A7B8FA #C0A7FA #E9A7FA
triadic
#C0A7FA #FAC0A7 #A7FAC0
tetradic
#C0A7FA #FAA7B8 #E1FAA7 #A7FAE9
square
#C0A7FA #FAA7B8 #E1FAA7 #A7FAE9
split-complementary
#C0A7FA #FAE9A7 #B8FAA7
monochromatic
#6D33F3 #976DF7 #C0A7FA #E9E1FD #EAE2FD

Accessibility & contrast

On white

2.07
#C0A7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#C0A7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0A7FA
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0A7FA#FFFFFF#000000##000000
##C0A7FA1.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B4FD
Deuteranopia (green-blind)
#97B3F8
Tritanopia (blue-blind)
#B5B5C5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c0a7fa;
/* rgb */ color: rgb(192, 167, 250);
/* oklch */ color: oklch(78.1% 0.119 297.4);
Tailwind
colors: {
  custom: {
    50: '#d4c1fc',
    500: '#c0a7fa',
    950: '#000000',
  },
}
SCSS
$custom: #c0a7fa;
$custom-light: #d4c1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c0a7fa",
  "rgb": {
    "r": 192,
    "g": 167,
    "b": 250
  },
  "hsl": {
    "h": 258.072,
    "s": 89.247,
    "l": 81.765
  },
  "oklch": {
    "l": 0.78061,
    "c": 0.11857,
    "h": 297.4
  },
  "luminance": 0.45746
}

Semantic roles & 50–950 ramp

primary
#C0A7FA
secondary
#ECF5D6
accent
#E600A0
background
#FDFBFF
surface
#FAF7FF
border
#D3D0D7
text
#141217
muted
#838185

Preview Lab

Preview with #C0A7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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