#AF8BCD#AF8BCD

#AF8BCD is a light, moderate violet. Relative luminance 0.320; OKLCH L 69.4% C 0.102 H 308.8°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#AF8BCD
RGBrgb(175, 139, 205)
HSLhsl(273, 40%, 67%)
HSVhsv(273, 32%, 80%)
CMYKcmyk(14.6%, 32.2%, 0%, 19.6%)
CIE-LABlab(63.33, 26.16, -28.92)
CIE-LCHlch(63.33, 39.00, 312.13°)
OKLaboklab(69.42% 0.064 -0.0795)
OKLCHoklch(69.42% 0.102 308.8)
XYZxyz(37.9292, 31.9873, 61.9218)
Luminance0.3199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8BCD #A9CD8B
analogous
#8E8BCD #AF8BCD #CD8BCA
triadic
#AF8BCD #CDAF8B #8BCDAF
tetradic
#AF8BCD #CD8E8B #A9CD8B #8BCACD
square
#AF8BCD #CD8E8B #A9CD8B #8BCACD
split-complementary
#AF8BCD #CACD8B #8BCD8E
monochromatic
#73439B #9260BB #AF8BCD #CCB6DF #EAE1F2

Accessibility & contrast

On white

2.84
#AF8BCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#AF8BCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF8BCD
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8BCD#FFFFFF#000000##000000
##AF8BCD1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F98D0
Deuteranopia (green-blind)
#879ACB
Tritanopia (blue-blind)
#AB94A3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af8bcd;
/* rgb */ color: rgb(175, 139, 205);
/* oklch */ color: oklch(69.4% 0.102 308.8);
Tailwind
colors: {
  custom: {
    50: '#c7addc',
    500: '#af8bcd',
    950: '#000000',
  },
}
SCSS
$custom: #af8bcd;
$custom-light: #c7addc;
$custom-dark: #000000;
JSON
{
  "hex": "#af8bcd",
  "rgb": {
    "r": 175,
    "g": 139,
    "b": 205
  },
  "hsl": {
    "h": 272.727,
    "s": 39.759,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69422,
    "c": 0.10205,
    "h": 308.8
  },
  "luminance": 0.31987
}

Semantic roles & 50–950 ramp

primary
#AF8BCD
secondary
#D9E4D0
accent
#B3336D
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AF8BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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