#C7ABFA#C7ABFA

#C7ABFA is a light, moderate violet. Relative luminance 0.482; OKLCH L 79.4% C 0.113 H 300.1°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#C7ABFA
RGBrgb(199, 171, 250)
HSLhsl(261, 89%, 83%)
HSVhsv(261, 32%, 98%)
CMYKcmyk(20.4%, 31.6%, 0%, 2%)
CIE-LABlab(74.93, 25.63, -35.53)
CIE-LCHlch(74.93, 43.82, 305.81°)
OKLaboklab(79.39% 0.0569 -0.0981)
OKLCHoklch(79.39% 0.113 300.1)
XYZxyz(55.3677, 48.1699, 96.8047)
Luminance0.4817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7ABFA #DEFAAB
analogous
#ABB6FA #C7ABFA #EFABFA
triadic
#C7ABFA #FAC7AB #ABFAC7
tetradic
#C7ABFA #FAABB6 #DEFAAB #ABFAEF
square
#C7ABFA #FAABB6 #DEFAAB #ABFAEF
split-complementary
#C7ABFA #FAEFAB #B6FAAB
monochromatic
#7A37F3 #A071F7 #C7ABFA #ECE2FD #ECE2FD

Accessibility & contrast

On white

1.97
#C7ABFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#C7ABFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7ABFA
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7ABFA#FFFFFF#000000##000000
##C7ABFA1.001.9710.6310.63
#FFFFFF1.971.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B8FD
Deuteranopia (green-blind)
#9EB8F8
Tritanopia (blue-blind)
#BEB7C8
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c7abfa;
/* rgb */ color: rgb(199, 171, 250);
/* oklch */ color: oklch(79.4% 0.113 300.1);
Tailwind
colors: {
  custom: {
    50: '#d9c4fc',
    500: '#c7abfa',
    950: '#000000',
  },
}
SCSS
$custom: #c7abfa;
$custom-light: #d9c4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c7abfa",
  "rgb": {
    "r": 199,
    "g": 171,
    "b": 250
  },
  "hsl": {
    "h": 261.266,
    "s": 88.764,
    "l": 82.549
  },
  "oklch": {
    "l": 0.79392,
    "c": 0.11342,
    "h": 300.1
  },
  "luminance": 0.4817
}

Semantic roles & 50–950 ramp

primary
#C7ABFA
secondary
#EAF5D6
accent
#E50094
background
#FDFCFF
surface
#FAF8FF
border
#D3D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #C7ABFA

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

Preview Lab → · Contrast checker → · Palette generator →

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