#AFA3DF#AFA3DF

#AFA3DF is a light, moderate violet. Relative luminance 0.406; OKLCH L 74.7% C 0.086 H 293.4°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#AFA3DF
RGBrgb(175, 163, 223)
HSLhsl(252, 48%, 76%)
HSVhsv(252, 27%, 87%)
CMYKcmyk(21.5%, 26.9%, 0%, 12.5%)
CIE-LABlab(69.92, 16.72, -28.74)
CIE-LCHlch(69.92, 33.25, 300.18°)
OKLaboklab(74.71% 0.0342 -0.0791)
OKLCHoklch(74.71% 0.086 293.4)
XYZxyz(44.0926, 40.6356, 75.3182)
Luminance0.4064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA3DF #D3DFA3
analogous
#A3B5DF #AFA3DF #CDA3DF
triadic
#AFA3DF #DFAFA3 #A3DFAF
tetradic
#AFA3DF #DFA3B5 #D3DFA3 #A3DFCD
square
#AFA3DF #DFA3B5 #D3DFA3 #A3DFCD
split-complementary
#AFA3DF #DFCDA3 #B5DFA3
monochromatic
#6048BF #8876CF #AFA3DF #D6D0EF #EBE8F7

Accessibility & contrast

On white

2.30
#AFA3DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#AFA3DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA3DF
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA3DF#FFFFFF#000000##000000
##AFA3DF1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#95ACE2
Deuteranopia (green-blind)
#96AADD
Tritanopia (blue-blind)
#A5ADB8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afa3df;
/* rgb */ color: rgb(175, 163, 223);
/* oklch */ color: oklch(74.7% 0.086 293.4);
Tailwind
colors: {
  custom: {
    50: '#c7bee9',
    500: '#afa3df',
    950: '#000000',
  },
}
SCSS
$custom: #afa3df;
$custom-light: #c7bee9;
$custom-dark: #000000;
JSON
{
  "hex": "#afa3df",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 223
  },
  "hsl": {
    "h": 252,
    "s": 48.387,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74709,
    "c": 0.08617,
    "h": 293.4
  },
  "luminance": 0.40636
}

Semantic roles & 50–950 ramp

primary
#AFA3DF
secondary
#EBEEDD
accent
#BC2A9F
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFA3DF

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

Preview Lab → · Contrast checker → · Palette generator →

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