#AF94CA#AF94CA

#AF94CA is a light, moderate violet. Relative luminance 0.346; OKLCH L 71.0% C 0.083 H 307.2°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#AF94CA
RGBrgb(175, 148, 202)
HSLhsl(270, 34%, 69%)
HSVhsv(270, 27%, 79%)
CMYKcmyk(13.4%, 26.7%, 0%, 20.8%)
CIE-LABlab(65.40, 20.44, -24.06)
CIE-LCHlch(65.40, 31.57, 310.35°)
OKLaboklab(70.97% 0.0499 -0.0658)
OKLCHoklch(70.97% 0.083 307.2)
XYZxyz(38.9278, 34.5583, 60.4853)
Luminance0.3456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF94CA #AFCA94
analogous
#9494CA #AF94CA #CA94CA
triadic
#AF94CA #CAAF94 #94CAAF
tetradic
#AF94CA #CA9494 #AFCA94 #94CACA
square
#AF94CA #CA9494 #AFCA94 #94CACA
split-complementary
#AF94CA #CACA94 #94CA94
monochromatic
#724B98 #906BB6 #AF94CA #CEBDDE #ECE6F3

Accessibility & contrast

On white

2.65
#AF94CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#AF94CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF94CA
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF94CA#FFFFFF#000000##000000
##AF94CA1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9ECC
Deuteranopia (green-blind)
#909FC8
Tritanopia (blue-blind)
#AC9BA7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #af94ca;
/* rgb */ color: rgb(175, 148, 202);
/* oklch */ color: oklch(71.0% 0.083 307.2);
Tailwind
colors: {
  custom: {
    50: '#c7b3da',
    500: '#af94ca',
    950: '#000000',
  },
}
SCSS
$custom: #af94ca;
$custom-light: #c7b3da;
$custom-dark: #000000;
JSON
{
  "hex": "#af94ca",
  "rgb": {
    "r": 175,
    "g": 148,
    "b": 202
  },
  "hsl": {
    "h": 270,
    "s": 33.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.7097,
    "c": 0.08252,
    "h": 307.2
  },
  "luminance": 0.34558
}

Semantic roles & 50–950 ramp

primary
#AF94CA
secondary
#DDE5D5
accent
#AD3973
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131114
muted
#828083

Preview Lab

Preview with #AF94CA

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

Preview Lab → · Contrast checker → · Palette generator →

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