#AF8DD4#AF8DD4

#AF8DD4 is a light, moderate violet. Relative luminance 0.329; OKLCH L 70.1% C 0.108 H 305.8°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#AF8DD4
RGBrgb(175, 141, 212)
HSLhsl(269, 45%, 69%)
HSVhsv(269, 33%, 83%)
CMYKcmyk(17.5%, 33.5%, 0%, 16.9%)
CIE-LABlab(64.09, 26.58, -31.65)
CIE-LCHlch(64.09, 41.34, 310.02°)
OKLaboklab(70.1% 0.0628 -0.0873)
OKLCHoklch(70.1% 0.108 305.8)
XYZxyz(39.0854, 32.9174, 66.5692)
Luminance0.3292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8DD4 #B2D48D
analogous
#8D8FD4 #AF8DD4 #D38DD4
triadic
#AF8DD4 #D4AF8D #8DD4AF
tetradic
#AF8DD4 #D48D8F #B2D48D #8DD4D3
square
#AF8DD4 #D48D8F #B2D48D #8DD4D3
split-complementary
#AF8DD4 #D4D38D #8FD48D
monochromatic
#713FA7 #9061C3 #AF8DD4 #CEB9E5 #EDE6F6

Accessibility & contrast

On white

2.77
#AF8DD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#AF8DD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF8DD4
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8DD4#FFFFFF#000000##000000
##AF8DD41.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9AD7
Deuteranopia (green-blind)
#869CD2
Tritanopia (blue-blind)
#AA97A7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #af8dd4;
/* rgb */ color: rgb(175, 141, 212);
/* oklch */ color: oklch(70.1% 0.108 305.8);
Tailwind
colors: {
  custom: {
    50: '#c8aee1',
    500: '#af8dd4',
    950: '#000000',
  },
}
SCSS
$custom: #af8dd4;
$custom-light: #c8aee1;
$custom-dark: #000000;
JSON
{
  "hex": "#af8dd4",
  "rgb": {
    "r": 175,
    "g": 141,
    "b": 212
  },
  "hsl": {
    "h": 268.732,
    "s": 45.223,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70096,
    "c": 0.10756,
    "h": 305.8
  },
  "luminance": 0.32917
}

Semantic roles & 50–950 ramp

primary
#AF8DD4
secondary
#DFE9D4
accent
#B82D76
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AF8DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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