#AF92CA#AF92CA

#AF92CA is a light, moderate violet. Relative luminance 0.339; OKLCH L 70.6% C 0.086 H 307.9°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#AF92CA
RGBrgb(175, 146, 202)
HSLhsl(271, 35%, 68%)
HSVhsv(271, 28%, 79%)
CMYKcmyk(13.4%, 27.7%, 0%, 20.8%)
CIE-LABlab(64.91, 21.57, -24.81)
CIE-LCHlch(64.91, 32.87, 311.00°)
OKLaboklab(70.59% 0.0528 -0.0679)
OKLCHoklch(70.59% 0.086 307.9)
XYZxyz(38.6168, 33.9363, 60.3816)
Luminance0.3394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF92CA #ADCA92
analogous
#9392CA #AF92CA #CA92C9
triadic
#AF92CA #CAAF92 #92CAAF
tetradic
#AF92CA #CA9392 #ADCA92 #92C9CA
square
#AF92CA #CA9392 #ADCA92 #92C9CA
split-complementary
#AF92CA #C9CA92 #92CA93
monochromatic
#724A98 #9169B6 #AF92CA #CDBBDE #EBE4F2

Accessibility & contrast

On white

2.70
#AF92CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#AF92CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF92CA
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF92CA#FFFFFF#000000##000000
##AF92CA1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#889CCC
Deuteranopia (green-blind)
#8E9EC8
Tritanopia (blue-blind)
#AC9AA6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #af92ca;
/* rgb */ color: rgb(175, 146, 202);
/* oklch */ color: oklch(70.6% 0.086 307.9);
Tailwind
colors: {
  custom: {
    50: '#c7b2da',
    500: '#af92ca',
    950: '#000000',
  },
}
SCSS
$custom: #af92ca;
$custom-light: #c7b2da;
$custom-dark: #000000;
JSON
{
  "hex": "#af92ca",
  "rgb": {
    "r": 175,
    "g": 146,
    "b": 202
  },
  "hsl": {
    "h": 271.071,
    "s": 34.568,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70593,
    "c": 0.08601,
    "h": 307.9
  },
  "luminance": 0.33936
}

Semantic roles & 50–950 ramp

primary
#AF92CA
secondary
#DCE4D3
accent
#AD3871
background
#FCFAFD
surface
#F8F5FA
border
#D1CFD3
text
#131114
muted
#828083

Preview Lab

Preview with #AF92CA

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

Preview Lab → · Contrast checker → · Palette generator →

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