#AF94DE#AF94DE

#AF94DE is a light, moderate violet. Relative luminance 0.356; OKLCH L 71.8% C 0.109 H 300.5°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#AF94DE
RGBrgb(175, 148, 222)
HSLhsl(262, 53%, 73%)
HSVhsv(262, 33%, 87%)
CMYKcmyk(21.2%, 33.3%, 0%, 12.9%)
CIE-LABlab(66.19, 24.91, -33.96)
CIE-LCHlch(66.19, 42.12, 306.26°)
OKLaboklab(71.83% 0.0552 -0.0939)
OKLCHoklch(71.83% 0.109 300.5)
XYZxyz(41.4511, 35.5676, 73.7745)
Luminance0.3557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF94DE #C3DE94
analogous
#949EDE #AF94DE #D494DE
triadic
#AF94DE #DEAF94 #94DEAF
tetradic
#AF94DE #DE949E #C3DE94 #94DED4
square
#AF94DE #DE949E #C3DE94 #94DED4
split-complementary
#AF94DE #DED494 #9EDE94
monochromatic
#6A3ABD #8C65D0 #AF94DE #D2C3EC #EEE8F8

Accessibility & contrast

On white

2.59
#AF94DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#AF94DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF94DE
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF94DE#FFFFFF#000000##000000
##AF94DE1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A1E1
Deuteranopia (green-blind)
#88A0DC
Tritanopia (blue-blind)
#A7A0AF
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #af94de;
/* rgb */ color: rgb(175, 148, 222);
/* oklch */ color: oklch(71.8% 0.109 300.5);
Tailwind
colors: {
  custom: {
    50: '#c8b3e8',
    500: '#af94de',
    950: '#000000',
  },
}
SCSS
$custom: #af94de;
$custom-light: #c8b3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#af94de",
  "rgb": {
    "r": 175,
    "g": 148,
    "b": 222
  },
  "hsl": {
    "h": 261.892,
    "s": 52.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.7183,
    "c": 0.10895,
    "h": 300.5
  },
  "luminance": 0.35568
}

Semantic roles & 50–950 ramp

primary
#AF94DE
secondary
#E8EFDC
accent
#C02588
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AF94DE

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

Preview Lab → · Contrast checker → · Palette generator →

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