#AF7BCD#AF7BCD

#AF7BCD is a light, vivid violet. Relative luminance 0.277; OKLCH L 66.6% C 0.130 H 312.4°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#AF7BCD
RGBrgb(175, 123, 205)
HSLhsl(278, 45%, 64%)
HSVhsv(278, 40%, 80%)
CMYKcmyk(14.6%, 40%, 0%, 19.6%)
CIE-LABlab(59.61, 35.14, -34.70)
CIE-LCHlch(59.61, 49.38, 315.35°)
OKLaboklab(66.6% 0.0875 -0.0959)
OKLCHoklch(66.6% 0.13 312.4)
XYZxyz(35.7797, 27.6883, 61.2053)
Luminance0.2769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7BCD #99CD7B
analogous
#867BCD #AF7BCD #CD7BC2
triadic
#AF7BCD #CDAF7B #7BCDAF
tetradic
#AF7BCD #CD867B #99CD7B #7BC2CD
square
#AF7BCD #CD867B #99CD7B #7BC2CD
split-complementary
#AF7BCD #C2CD7B #7BCD86
monochromatic
#733895 #944FBC #AF7BCD #CAA7DE #E5D4EF

Accessibility & contrast

On white

3.21
#AF7BCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#AF7BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7BCD
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7BCD#FFFFFF#000000##000000
##AF7BCD1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8DD0
Deuteranopia (green-blind)
#7891CB
Tritanopia (blue-blind)
#AC879A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #af7bcd;
/* rgb */ color: rgb(175, 123, 205);
/* oklch */ color: oklch(66.6% 0.130 312.4);
Tailwind
colors: {
  custom: {
    50: '#c8a2dc',
    500: '#af7bcd',
    950: '#000000',
  },
}
SCSS
$custom: #af7bcd;
$custom-light: #c8a2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#af7bcd",
  "rgb": {
    "r": 175,
    "g": 123,
    "b": 205
  },
  "hsl": {
    "h": 278.049,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66596,
    "c": 0.12985,
    "h": 312.4
  },
  "luminance": 0.27688
}

Semantic roles & 50–950 ramp

primary
#AF7BCD
secondary
#CEE0C4
accent
#B82D60
background
#FCFAFD
surface
#F8F3FB
border
#D1CDD4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AF7BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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