#AF89CA#AF89CA

#AF89CA is a light, moderate violet. Relative luminance 0.313; OKLCH L 68.9% C 0.102 H 310.6°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#AF89CA
RGBrgb(175, 137, 202)
HSLhsl(275, 38%, 66%)
HSVhsv(275, 32%, 79%)
CMYKcmyk(13.4%, 32.2%, 0%, 20.8%)
CIE-LABlab(62.73, 26.64, -28.16)
CIE-LCHlch(62.73, 38.76, 313.41°)
OKLaboklab(68.93% 0.0662 -0.0773)
OKLCHoklch(68.93% 0.102 310.6)
XYZxyz(37.2837, 31.2700, 59.9373)
Luminance0.3127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF89CA #A4CA89
analogous
#8F89CA #AF89CA #CA89C5
triadic
#AF89CA #CAAF89 #89CAAF
tetradic
#AF89CA #CA8F89 #A4CA89 #89C5CA
square
#AF89CA #CA8F89 #A4CA89 #89C5CA
split-complementary
#AF89CA #C5CA89 #89CA8F
monochromatic
#734395 #925FB7 #AF89CA #CCB3DD #E8DDF0

Accessibility & contrast

On white

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

On black

7.25
#AF89CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF89CA
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF89CA#FFFFFF#000000##000000
##AF89CA1.002.897.257.25
#FFFFFF2.891.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af89ca;
/* rgb */ color: rgb(175, 137, 202);
/* oklch */ color: oklch(68.9% 0.102 310.6);
Tailwind
colors: {
  custom: {
    50: '#c7abda',
    500: '#af89ca',
    950: '#000000',
  },
}
SCSS
$custom: #af89ca;
$custom-light: #c7abda;
$custom-dark: #000000;
JSON
{
  "hex": "#af89ca",
  "rgb": {
    "r": 175,
    "g": 137,
    "b": 202
  },
  "hsl": {
    "h": 275.077,
    "s": 38.012,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68927,
    "c": 0.10177,
    "h": 310.6
  },
  "luminance": 0.3127
}

Semantic roles & 50–950 ramp

primary
#AF89CA
secondary
#D6E2CD
accent
#B13568
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131015
muted
#827F83

Preview Lab

Preview with #AF89CA

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

Preview Lab → · Contrast checker → · Palette generator →

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