#AF88CD#AF88CD

#AF88CD is a light, moderate violet. Relative luminance 0.311; OKLCH L 68.9% C 0.107 H 309.6°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#AF88CD
RGBrgb(175, 136, 205)
HSLhsl(274, 41%, 67%)
HSVhsv(274, 34%, 80%)
CMYKcmyk(14.6%, 33.7%, 0%, 19.6%)
CIE-LABlab(62.62, 27.85, -30.03)
CIE-LCHlch(62.62, 40.96, 312.85°)
OKLaboklab(68.88% 0.0684 -0.0826)
OKLCHoklch(68.88% 0.107 309.6)
XYZxyz(37.5008, 31.1305, 61.7790)
Luminance0.3113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF88CD #A6CD88
analogous
#8D88CD #AF88CD #CD88C9
triadic
#AF88CD #CDAF88 #88CDAF
tetradic
#AF88CD #CD8D88 #A6CD88 #88C9CD
square
#AF88CD #CD8D88 #A6CD88 #88C9CD
split-complementary
#AF88CD #C9CD88 #88CD8D
monochromatic
#73419A #925DBB #AF88CD #CCB3DF #E9DEF1

Accessibility & contrast

On white

2.91
#AF88CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#AF88CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF88CD
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF88CD#FFFFFF#000000##000000
##AF88CD1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B96D0
Deuteranopia (green-blind)
#8498CB
Tritanopia (blue-blind)
#AC92A1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af88cd;
/* rgb */ color: rgb(175, 136, 205);
/* oklch */ color: oklch(68.9% 0.107 309.6);
Tailwind
colors: {
  custom: {
    50: '#c8abdc',
    500: '#af88cd',
    950: '#000000',
  },
}
SCSS
$custom: #af88cd;
$custom-light: #c8abdc;
$custom-dark: #000000;
JSON
{
  "hex": "#af88cd",
  "rgb": {
    "r": 175,
    "g": 136,
    "b": 205
  },
  "hsl": {
    "h": 273.913,
    "s": 40.828,
    "l": 66.863
  },
  "oklch": {
    "l": 0.68877,
    "c": 0.10727,
    "h": 309.6
  },
  "luminance": 0.3113
}

Semantic roles & 50–950 ramp

primary
#AF88CD
secondary
#D7E3CD
accent
#B4326A
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AF88CD

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

Preview Lab → · Contrast checker → · Palette generator →

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