#AF88CA#AF88CA

#AF88CA is a light, moderate violet. Relative luminance 0.310; OKLCH L 68.7% C 0.104 H 310.8°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#AF88CA
RGBrgb(175, 136, 202)
HSLhsl(275, 38%, 66%)
HSVhsv(275, 33%, 79%)
CMYKcmyk(13.4%, 32.7%, 0%, 20.8%)
CIE-LABlab(62.50, 27.20, -28.53)
CIE-LCHlch(62.50, 39.42, 313.64°)
OKLaboklab(68.75% 0.0677 -0.0783)
OKLCHoklch(68.75% 0.104 310.8)
XYZxyz(37.1422, 30.9870, 59.8901)
Luminance0.3099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF88CA #A3CA88
analogous
#8E88CA #AF88CA #CA88C4
triadic
#AF88CA #CAAF88 #88CAAF
tetradic
#AF88CA #CA8E88 #A3CA88 #88C4CA
square
#AF88CA #CA8E88 #A3CA88 #88C4CA
split-complementary
#AF88CA #C4CA88 #88CA8E
monochromatic
#734295 #935EB7 #AF88CA #CBB2DD #E8DDF0

Accessibility & contrast

On white

2.92
#AF88CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#AF88CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF88CA
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF88CA#FFFFFF#000000##000000
##AF88CA1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D95CD
Deuteranopia (green-blind)
#8598C8
Tritanopia (blue-blind)
#AC91A0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af88ca;
/* rgb */ color: rgb(175, 136, 202);
/* oklch */ color: oklch(68.7% 0.104 310.8);
Tailwind
colors: {
  custom: {
    50: '#c7abda',
    500: '#af88ca',
    950: '#000000',
  },
}
SCSS
$custom: #af88ca;
$custom-light: #c7abda;
$custom-dark: #000000;
JSON
{
  "hex": "#af88ca",
  "rgb": {
    "r": 175,
    "g": 136,
    "b": 202
  },
  "hsl": {
    "h": 275.455,
    "s": 38.372,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68745,
    "c": 0.10353,
    "h": 310.8
  },
  "luminance": 0.30987
}

Semantic roles & 50–950 ramp

primary
#AF88CA
secondary
#D5E2CC
accent
#B13467
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131015
muted
#827F83

Preview Lab

Preview with #AF88CA

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

Preview Lab → · Contrast checker → · Palette generator →

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