#AF83CA#AF83CA

#AF83CA is a light, moderate violet. Relative luminance 0.296; OKLCH L 67.8% C 0.112 H 312.0°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#AF83CA
RGBrgb(175, 131, 202)
HSLhsl(277, 40%, 65%)
HSVhsv(277, 35%, 79%)
CMYKcmyk(13.4%, 35.1%, 0%, 20.8%)
CIE-LABlab(61.32, 30.01, -30.35)
CIE-LCHlch(61.32, 42.69, 314.68°)
OKLaboklab(67.85% 0.0751 -0.0835)
OKLCHoklch(67.85% 0.112 312)
XYZxyz(36.4543, 29.6114, 59.6608)
Luminance0.2961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF83CA #9ECA83
analogous
#8B83CA #AF83CA #CA83C1
triadic
#AF83CA #CAAF83 #83CAAF
tetradic
#AF83CA #CA8B83 #9ECA83 #83C1CA
square
#AF83CA #CA8B83 #9ECA83 #83C1CA
split-complementary
#AF83CA #C1CA83 #83CA8B
monochromatic
#733F94 #9358B8 #AF83CA #CBAEDC #E6D9EF

Accessibility & contrast

On white

3.03
#AF83CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#AF83CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF83CA
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF83CA#FFFFFF#000000##000000
##AF83CA1.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7792CD
Deuteranopia (green-blind)
#8195C8
Tritanopia (blue-blind)
#AD8D9D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #af83ca;
/* rgb */ color: rgb(175, 131, 202);
/* oklch */ color: oklch(67.8% 0.112 312.0);
Tailwind
colors: {
  custom: {
    50: '#c8a7da',
    500: '#af83ca',
    950: '#000000',
  },
}
SCSS
$custom: #af83ca;
$custom-light: #c8a7da;
$custom-dark: #000000;
JSON
{
  "hex": "#af83ca",
  "rgb": {
    "r": 175,
    "g": 131,
    "b": 202
  },
  "hsl": {
    "h": 277.183,
    "s": 40.113,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67849,
    "c": 0.11231,
    "h": 312
  },
  "luminance": 0.29611
}

Semantic roles & 50–950 ramp

primary
#AF83CA
secondary
#D2E0C8
accent
#B33263
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#130F15
muted
#827F83

Preview Lab

Preview with #AF83CA

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

Preview Lab → · Contrast checker → · Palette generator →

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