#C2ABFA#C2ABFA

#C2ABFA is a light, moderate violet. Relative luminance 0.475; OKLCH L 79.0% C 0.113 H 297.1°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#C2ABFA
RGBrgb(194, 171, 250)
HSLhsl(257, 89%, 83%)
HSVhsv(257, 32%, 98%)
CMYKcmyk(22.4%, 31.6%, 0%, 2%)
CIE-LABlab(74.51, 24.16, -36.23)
CIE-LCHlch(74.51, 43.54, 303.70°)
OKLaboklab(78.96% 0.0513 -0.1002)
OKLCHoklch(78.96% 0.113 297.1)
XYZxyz(54.0625, 47.4969, 96.7435)
Luminance0.4750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2ABFA #E3FAAB
analogous
#ABBCFA #C2ABFA #E9ABFA
triadic
#C2ABFA #FAC2AB #ABFAC2
tetradic
#C2ABFA #FAABBC #E3FAAB #ABFAE9
square
#C2ABFA #FAABBC #E3FAAB #ABFAE9
split-complementary
#C2ABFA #FAE9AB #BCFAAB
monochromatic
#6E37F3 #9871F7 #C2ABFA #EAE2FD #EAE2FD

Accessibility & contrast

On white

2.00
#C2ABFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#C2ABFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2ABFA
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2ABFA#FFFFFF#000000##000000
##C2ABFA1.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B8FD
Deuteranopia (green-blind)
#9CB6F8
Tritanopia (blue-blind)
#B7B8C8
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c2abfa;
/* rgb */ color: rgb(194, 171, 250);
/* oklch */ color: oklch(79.0% 0.113 297.1);
Tailwind
colors: {
  custom: {
    50: '#d5c4fc',
    500: '#c2abfa',
    950: '#000000',
  },
}
SCSS
$custom: #c2abfa;
$custom-light: #d5c4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c2abfa",
  "rgb": {
    "r": 194,
    "g": 171,
    "b": 250
  },
  "hsl": {
    "h": 257.468,
    "s": 88.764,
    "l": 82.549
  },
  "oklch": {
    "l": 0.78964,
    "c": 0.11256,
    "h": 297.1
  },
  "luminance": 0.47497
}

Semantic roles & 50–950 ramp

primary
#C2ABFA
secondary
#ECF5D6
accent
#E500A3
background
#FDFCFF
surface
#FAF8FF
border
#D3D1D7
text
#141217
muted
#838185

Preview Lab

Preview with #C2ABFA

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

Preview Lab → · Contrast checker → · Palette generator →

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