#AF8DCA#AF8DCA

#AF8DCA is a light, moderate violet. Relative luminance 0.324; OKLCH L 69.7% C 0.095 H 309.5°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#AF8DCA
RGBrgb(175, 141, 202)
HSLhsl(273, 37%, 67%)
HSVhsv(273, 30%, 79%)
CMYKcmyk(13.4%, 30.2%, 0%, 20.8%)
CIE-LABlab(63.70, 24.38, -26.68)
CIE-LCHlch(63.70, 36.15, 312.42°)
OKLaboklab(69.66% 0.0603 -0.0731)
OKLCHoklch(69.66% 0.095 309.5)
XYZxyz(37.8628, 32.4284, 60.1303)
Luminance0.3243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8DCA #A8CA8D
analogous
#918DCA #AF8DCA #CA8DC6
triadic
#AF8DCA #CAAF8D #8DCAAF
tetradic
#AF8DCA #CA918D #A8CA8D #8DC6CA
square
#AF8DCA #CA918D #A8CA8D #8DC6CA
split-complementary
#AF8DCA #C6CA8D #8DCA91
monochromatic
#734697 #9263B7 #AF8DCA #CCB7DD #EAE1F1

Accessibility & contrast

On white

2.81
#AF8DCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#AF8DCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF8DCA
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8DCA#FFFFFF#000000##000000
##AF8DCA1.002.817.497.49
#FFFFFF2.811.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8299CC
Deuteranopia (green-blind)
#899BC8
Tritanopia (blue-blind)
#AC95A3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af8dca;
/* rgb */ color: rgb(175, 141, 202);
/* oklch */ color: oklch(69.7% 0.095 309.5);
Tailwind
colors: {
  custom: {
    50: '#c7aeda',
    500: '#af8dca',
    950: '#000000',
  },
}
SCSS
$custom: #af8dca;
$custom-light: #c7aeda;
$custom-dark: #000000;
JSON
{
  "hex": "#af8dca",
  "rgb": {
    "r": 175,
    "g": 141,
    "b": 202
  },
  "hsl": {
    "h": 273.443,
    "s": 36.527,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69661,
    "c": 0.09475,
    "h": 309.5
  },
  "luminance": 0.32428
}

Semantic roles & 50–950 ramp

primary
#AF8DCA
secondary
#D8E3D0
accent
#AF366C
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131015
muted
#827F83

Preview Lab

Preview with #AF8DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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