#AF89CC#AF89CC

#AF89CC is a light, moderate violet. Relative luminance 0.314; OKLCH L 69.0% C 0.104 H 309.8°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#AF89CC
RGBrgb(175, 137, 204)
HSLhsl(274, 40%, 67%)
HSVhsv(274, 33%, 80%)
CMYKcmyk(14.2%, 32.8%, 0%, 20%)
CIE-LABlab(62.81, 27.07, -29.16)
CIE-LCHlch(62.81, 39.79, 312.87°)
OKLaboklab(69.01% 0.0667 -0.0801)
OKLCHoklch(69.01% 0.104 309.8)
XYZxyz(37.5220, 31.3653, 61.1925)
Luminance0.3136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89CC #A6CC89
analogous
#8E89CC #AF89CC #CC89C8
triadic
#AF89CC #CCAF89 #89CCAF
tetradic
#AF89CC #CC8E89 #A6CC89 #89C8CC
square
#AF89CC #CC8E89 #A6CC89 #89C8CC
split-complementary
#AF89CC #C8CC89 #89CC8E
monochromatic
#734299 #925EBA #AF89CC #CCB4DE #E9DEF1

Accessibility & contrast

On white

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

On black

7.27
#AF89CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF89CC
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF89CC#FFFFFF#000000##000000
##AF89CC1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D96CF
Deuteranopia (green-blind)
#8599CA
Tritanopia (blue-blind)
#AC92A1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af89cc;
/* rgb */ color: rgb(175, 137, 204);
/* oklch */ color: oklch(69.0% 0.104 309.8);
Tailwind
colors: {
  custom: {
    50: '#c7acdb',
    500: '#af89cc',
    950: '#000000',
  },
}
SCSS
$custom: #af89cc;
$custom-light: #c7acdb;
$custom-dark: #000000;
JSON
{
  "hex": "#af89cc",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 204
  },
  "hsl": {
    "h": 274.03,
    "s": 39.645,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69014,
    "c": 0.10427,
    "h": 309.8
  },
  "luminance": 0.31365
}

Semantic roles & 50–950 ramp

primary
#AF89CC
secondary
#D7E3CE
accent
#B3336A
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AF89CC

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

Preview Lab → · Contrast checker → · Palette generator →

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