#AF89CB#AF89CB

#AF89CB is a light, moderate violet. Relative luminance 0.313; OKLCH L 69.0% C 0.103 H 310.2°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#AF89CB
RGBrgb(175, 137, 203)
HSLhsl(275, 39%, 67%)
HSVhsv(275, 33%, 80%)
CMYKcmyk(13.8%, 32.5%, 0%, 20.4%)
CIE-LABlab(62.77, 26.86, -28.66)
CIE-LCHlch(62.77, 39.28, 313.14°)
OKLaboklab(68.97% 0.0665 -0.0787)
OKLCHoklch(68.97% 0.103 310.2)
XYZxyz(37.4024, 31.3175, 60.5628)
Luminance0.3132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89CB #A5CB89
analogous
#8E89CB #AF89CB #CB89C6
triadic
#AF89CB #CBAF89 #89CBAF
tetradic
#AF89CB #CB8E89 #A5CB89 #89C6CB
square
#AF89CB #CB8E89 #A5CB89 #89C6CB
split-complementary
#AF89CB #C6CB89 #89CB8E
monochromatic
#734397 #925FB8 #AF89CB #CCB3DE #E9DEF0

Accessibility & contrast

On white

2.89
#AF89CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#AF89CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF89CB
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF89CB#FFFFFF#000000##000000
##AF89CB1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D96CE
Deuteranopia (green-blind)
#8699C9
Tritanopia (blue-blind)
#AC92A1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af89cb;
/* rgb */ color: rgb(175, 137, 203);
/* oklch */ color: oklch(69.0% 0.103 310.2);
Tailwind
colors: {
  custom: {
    50: '#c7abdb',
    500: '#af89cb',
    950: '#000000',
  },
}
SCSS
$custom: #af89cb;
$custom-light: #c7abdb;
$custom-dark: #000000;
JSON
{
  "hex": "#af89cb",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 203
  },
  "hsl": {
    "h": 274.545,
    "s": 38.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68971,
    "c": 0.10302,
    "h": 310.2
  },
  "luminance": 0.31317
}

Semantic roles & 50–950 ramp

primary
#AF89CB
secondary
#D6E3CD
accent
#B23469
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AF89CB

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

Preview Lab → · Contrast checker → · Palette generator →

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