#AFA3DA#AFA3DA

#AFA3DA is a light, moderate violet. Relative luminance 0.404; OKLCH L 74.5% C 0.079 H 294.4°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#AFA3DA
RGBrgb(175, 163, 218)
HSLhsl(253, 43%, 75%)
HSVhsv(253, 25%, 85%)
CMYKcmyk(19.7%, 25.2%, 0%, 14.5%)
CIE-LABlab(69.73, 15.57, -26.28)
CIE-LCHlch(69.73, 30.55, 300.65°)
OKLaboklab(74.5% 0.0327 -0.0721)
OKLCHoklch(74.5% 0.079 294.4)
XYZxyz(43.4284, 40.3699, 71.8203)
Luminance0.4037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA3DA #CEDAA3
analogous
#A3B3DA #AFA3DA #CBA3DA
triadic
#AFA3DA #DAAFA3 #A3DAAF
tetradic
#AFA3DA #DAA3B3 #CEDAA3 #A3DACB
square
#AFA3DA #DAA3B3 #CEDAA3 #A3DACB
split-complementary
#AFA3DA #DACBA3 #B3DAA3
monochromatic
#634CB7 #8977C8 #AFA3DA #D5CFEC #ECE9F6

Accessibility & contrast

On white

2.31
#AFA3DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#AFA3DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA3DA
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA3DA#FFFFFF#000000##000000
##AFA3DA1.002.319.079.07
#FFFFFF2.311.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#96ABDC
Deuteranopia (green-blind)
#98AAD8
Tritanopia (blue-blind)
#A7ACB6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afa3da;
/* rgb */ color: rgb(175, 163, 218);
/* oklch */ color: oklch(74.5% 0.079 294.4);
Tailwind
colors: {
  custom: {
    50: '#c7bee5',
    500: '#afa3da',
    950: '#000000',
  },
}
SCSS
$custom: #afa3da;
$custom-light: #c7bee5;
$custom-dark: #000000;
JSON
{
  "hex": "#afa3da",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 218
  },
  "hsl": {
    "h": 253.091,
    "s": 42.636,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74502,
    "c": 0.07922,
    "h": 294.4
  },
  "luminance": 0.4037
}

Semantic roles & 50–950 ramp

primary
#AFA3DA
secondary
#EAEDDE
accent
#B63099
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131215
muted
#828184

Preview Lab

Preview with #AFA3DA

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

Preview Lab → · Contrast checker → · Palette generator →

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