#AF94CE#AF94CE

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

Color values

HEX#AF94CE
RGBrgb(175, 148, 206)
HSLhsl(268, 37%, 69%)
HSVhsv(268, 28%, 81%)
CMYKcmyk(15%, 28.2%, 0%, 19.2%)
CIE-LABlab(65.55, 21.31, -26.06)
CIE-LCHlch(65.55, 33.66, 309.28°)
OKLaboklab(71.14% 0.051 -0.0714)
OKLCHoklch(71.14% 0.088 305.5)
XYZxyz(39.4075, 34.7502, 63.0119)
Luminance0.3475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF94CE #B3CE94
analogous
#9496CE #AF94CE #CC94CE
triadic
#AF94CE #CEAF94 #94CEAF
tetradic
#AF94CE #CE9496 #B3CE94 #94CECC
square
#AF94CE #CE9496 #B3CE94 #94CECC
split-complementary
#AF94CE #CECC94 #96CE94
monochromatic
#71499F #906ABB #AF94CE #CEBEE1 #EEE8F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF94CE#FFFFFF#000000##000000
##AF94CE1.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)
#899ED0
Deuteranopia (green-blind)
#8E9FCC
Tritanopia (blue-blind)
#AB9CA9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #af94ce;
/* rgb */ color: rgb(175, 148, 206);
/* oklch */ color: oklch(71.1% 0.088 305.5);
Tailwind
colors: {
  custom: {
    50: '#c7b3dd',
    500: '#af94ce',
    950: '#000000',
  },
}
SCSS
$custom: #af94ce;
$custom-light: #c7b3dd;
$custom-dark: #000000;
JSON
{
  "hex": "#af94ce",
  "rgb": {
    "r": 175,
    "g": 148,
    "b": 206
  },
  "hsl": {
    "h": 267.931,
    "s": 37.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71135,
    "c": 0.08775,
    "h": 305.5
  },
  "luminance": 0.3475
}

Semantic roles & 50–950 ramp

primary
#AF94CE
secondary
#DFE7D7
accent
#B03577
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #AF94CE

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

Preview Lab → · Contrast checker → · Palette generator →

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