#AF92DA#AF92DA

#AF92DA is a light, moderate violet. Relative luminance 0.347; OKLCH L 71.3% C 0.107 H 302.3°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#AF92DA
RGBrgb(175, 146, 218)
HSLhsl(264, 49%, 71%)
HSVhsv(264, 33%, 85%)
CMYKcmyk(19.7%, 33%, 0%, 14.5%)
CIE-LABlab(65.54, 25.12, -32.75)
CIE-LCHlch(65.54, 41.27, 307.49°)
OKLaboklab(71.28% 0.0571 -0.0904)
OKLCHoklch(71.28% 0.107 302.3)
XYZxyz(40.6103, 34.7337, 70.8809)
Luminance0.3473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF92DA #BDDA92
analogous
#9299DA #AF92DA #D392DA
triadic
#AF92DA #DAAF92 #92DAAF
tetradic
#AF92DA #DA9299 #BDDA92 #92DAD3
square
#AF92DA #DA9299 #BDDA92 #92DAD3
split-complementary
#AF92DA #DAD392 #99DA92
monochromatic
#6D3DB4 #8D64CA #AF92DA #D1C0EA #EEE8F7

Accessibility & contrast

On white

2.64
#AF92DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#AF92DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF92DA
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF92DA#FFFFFF#000000##000000
##AF92DA1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#829FDD
Deuteranopia (green-blind)
#889FD8
Tritanopia (blue-blind)
#A89DAC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #af92da;
/* rgb */ color: rgb(175, 146, 218);
/* oklch */ color: oklch(71.3% 0.107 302.3);
Tailwind
colors: {
  custom: {
    50: '#c8b2e5',
    500: '#af92da',
    950: '#000000',
  },
}
SCSS
$custom: #af92da;
$custom-light: #c8b2e5;
$custom-dark: #000000;
JSON
{
  "hex": "#af92da",
  "rgb": {
    "r": 175,
    "g": 146,
    "b": 218
  },
  "hsl": {
    "h": 264.167,
    "s": 49.315,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71281,
    "c": 0.10696,
    "h": 302.3
  },
  "luminance": 0.34734
}

Semantic roles & 50–950 ramp

primary
#AF92DA
secondary
#E6EDDB
accent
#BD2981
background
#FCFAFE
surface
#F8F5FC
border
#D1CFD5
text
#131116
muted
#828084

Preview Lab

Preview with #AF92DA

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

Preview Lab → · Contrast checker → · Palette generator →

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