#AB85CA#AB85CA

#AB85CA is a light, moderate violet. Relative luminance 0.297; OKLCH L 67.8% C 0.107 H 309.0°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#AB85CA
RGBrgb(171, 133, 202)
HSLhsl(273, 39%, 66%)
HSVhsv(273, 34%, 79%)
CMYKcmyk(15.3%, 34.2%, 0%, 20.8%)
CIE-LABlab(61.39, 27.64, -30.27)
CIE-LCHlch(61.39, 40.99, 312.40°)
OKLaboklab(67.81% 0.0674 -0.0834)
OKLCHoklch(67.81% 0.107 309)
XYZxyz(35.8408, 29.6976, 59.7098)
Luminance0.2970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB85CA #A4CA85
analogous
#8885CA #AB85CA #CA85C7
triadic
#AB85CA #CAAB85 #85CAAB
tetradic
#AB85CA #CA8885 #A4CA85 #85C7CA
square
#AB85CA #CA8885 #A4CA85 #85C7CA
split-complementary
#AB85CA #C7CA85 #85CA88
monochromatic
#6F4094 #8E5AB7 #AB85CA #C8B0DD #E6DAEF

Accessibility & contrast

On white

3.03
#AB85CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#AB85CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB85CA
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB85CA#FFFFFF#000000##000000
##AB85CA1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7893CD
Deuteranopia (green-blind)
#8095C8
Tritanopia (blue-blind)
#A78F9E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ab85ca;
/* rgb */ color: rgb(171, 133, 202);
/* oklch */ color: oklch(67.8% 0.107 309.0);
Tailwind
colors: {
  custom: {
    50: '#c5a9da',
    500: '#ab85ca',
    950: '#000000',
  },
}
SCSS
$custom: #ab85ca;
$custom-light: #c5a9da;
$custom-dark: #000000;
JSON
{
  "hex": "#ab85ca",
  "rgb": {
    "r": 171,
    "g": 133,
    "b": 202
  },
  "hsl": {
    "h": 273.043,
    "s": 39.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67814,
    "c": 0.10721,
    "h": 309
  },
  "luminance": 0.29697
}

Semantic roles & 50–950 ramp

primary
#AB85CA
secondary
#D4E1CA
accent
#B2336C
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131015
muted
#827F83

Preview Lab

Preview with #AB85CA

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

Preview Lab → · Contrast checker → · Palette generator →

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