#AF92CD#AF92CD

#AF92CD is a light, moderate violet. Relative luminance 0.341; OKLCH L 70.7% C 0.090 H 306.7°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#AF92CD
RGBrgb(175, 146, 205)
HSLhsl(269, 37%, 69%)
HSVhsv(269, 29%, 80%)
CMYKcmyk(14.6%, 28.8%, 0%, 19.6%)
CIE-LABlab(65.03, 22.22, -26.31)
CIE-LCHlch(65.03, 34.44, 310.18°)
OKLaboklab(70.72% 0.0537 -0.0721)
OKLCHoklch(70.72% 0.09 306.7)
XYZxyz(38.9754, 34.0797, 62.2705)
Luminance0.3408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF92CD #B0CD92
analogous
#9293CD #AF92CD #CD92CD
triadic
#AF92CD #CDAF92 #92CDAF
tetradic
#AF92CD #CD9293 #B0CD92 #92CDCD
square
#AF92CD #CD9293 #B0CD92 #92CDCD
split-complementary
#AF92CD #CDCD92 #93CD92
monochromatic
#72489D #9068BA #AF92CD #CEBCE0 #EDE6F3

Accessibility & contrast

On white

2.69
#AF92CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#AF92CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF92CD
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF92CD#FFFFFF#000000##000000
##AF92CD1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#879DCF
Deuteranopia (green-blind)
#8D9ECB
Tritanopia (blue-blind)
#AB9AA7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #af92cd;
/* rgb */ color: rgb(175, 146, 205);
/* oklch */ color: oklch(70.7% 0.090 306.7);
Tailwind
colors: {
  custom: {
    50: '#c7b2dc',
    500: '#af92cd',
    950: '#000000',
  },
}
SCSS
$custom: #af92cd;
$custom-light: #c7b2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#af92cd",
  "rgb": {
    "r": 175,
    "g": 146,
    "b": 205
  },
  "hsl": {
    "h": 269.492,
    "s": 37.107,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70717,
    "c": 0.0899,
    "h": 306.7
  },
  "luminance": 0.3408
}

Semantic roles & 50–950 ramp

primary
#AF92CD
secondary
#DEE6D5
accent
#B03574
background
#FCFAFD
surface
#F8F5FB
border
#D1CFD4
text
#131115
muted
#828083

Preview Lab

Preview with #AF92CD

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

Preview Lab → · Contrast checker → · Palette generator →

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