#AF93CA#AF93CA

#AF93CA is a light, moderate violet. Relative luminance 0.342; OKLCH L 70.8% C 0.084 H 307.5°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#AF93CA
RGBrgb(175, 147, 202)
HSLhsl(271, 34%, 68%)
HSVhsv(271, 27%, 79%)
CMYKcmyk(13.4%, 27.2%, 0%, 20.8%)
CIE-LABlab(65.16, 21.00, -24.44)
CIE-LCHlch(65.16, 32.22, 310.68°)
OKLaboklab(70.78% 0.0513 -0.0668)
OKLCHoklch(70.78% 0.084 307.5)
XYZxyz(38.7716, 34.2459, 60.4332)
Luminance0.3425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF93CA #AECA93
analogous
#9393CA #AF93CA #CA93C9
triadic
#AF93CA #CAAF93 #93CAAF
tetradic
#AF93CA #CA9393 #AECA93 #93C9CA
square
#AF93CA #CA9393 #AECA93 #93C9CA
split-complementary
#AF93CA #C9CA93 #93CA93
monochromatic
#724B98 #916AB6 #AF93CA #CDBCDE #ECE5F2

Accessibility & contrast

On white

2.68
#AF93CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#AF93CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF93CA
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF93CA#FFFFFF#000000##000000
##AF93CA1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#899DCC
Deuteranopia (green-blind)
#8F9EC8
Tritanopia (blue-blind)
#AC9AA6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #af93ca;
/* rgb */ color: rgb(175, 147, 202);
/* oklch */ color: oklch(70.8% 0.084 307.5);
Tailwind
colors: {
  custom: {
    50: '#c7b3da',
    500: '#af93ca',
    950: '#000000',
  },
}
SCSS
$custom: #af93ca;
$custom-light: #c7b3da;
$custom-dark: #000000;
JSON
{
  "hex": "#af93ca",
  "rgb": {
    "r": 175,
    "g": 147,
    "b": 202
  },
  "hsl": {
    "h": 270.545,
    "s": 34.161,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70781,
    "c": 0.08426,
    "h": 307.5
  },
  "luminance": 0.34246
}

Semantic roles & 50–950 ramp

primary
#AF93CA
secondary
#DCE5D4
accent
#AD3972
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131114
muted
#828083

Preview Lab

Preview with #AF93CA

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

Preview Lab → · Contrast checker → · Palette generator →

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