#AF3EB9#AF3EB9

#AF3EB9 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.0% C 0.205 H 324.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AF3EB9
RGBrgb(175, 62, 185)
HSLhsl(295, 50%, 48%)
HSVhsv(295, 66%, 73%)
CMYKcmyk(5.4%, 66.5%, 0%, 27.5%)
CIE-LABlab(47.06, 61.52, -42.97)
CIE-LCHlch(47.06, 75.04, 325.06°)
OKLaboklab(57.01% 0.1669 -0.1194)
OKLCHoklch(57.01% 0.205 324.4)
XYZxyz(28.1580, 16.0637, 47.5070)
Luminance0.1606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3EB9 #48B93E
analogous
#713EB9 #AF3EB9 #B93E85
triadic
#AF3EB9 #B9AF3E #3EB9AF
tetradic
#AF3EB9 #B9713E #48B93E #3E85B9
square
#AF3EB9 #B9713E #48B93E #3E85B9
split-complementary
#AF3EB9 #85B93E #3EB971
monochromatic
#581F5D #842F8B #AF3EB9 #C468CC #D696DC

Accessibility & contrast

On white

4.99
#AF3EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#AF3EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3EB9
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3EB9#FFFFFF#000000##FFFFFF
##AF3EB91.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2367BD
Deuteranopia (green-blind)
#5474B6
Tritanopia (blue-blind)
#B25176
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af3eb9;
/* rgb */ color: rgb(175, 62, 185);
/* oklch */ color: oklch(57.0% 0.205 324.4);
Tailwind
colors: {
  custom: {
    50: '#ca7cce',
    500: '#af3eb9',
    950: '#000000',
  },
}
SCSS
$custom: #af3eb9;
$custom-light: #ca7cce;
$custom-dark: #000000;
JSON
{
  "hex": "#af3eb9",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 185
  },
  "hsl": {
    "h": 295.122,
    "s": 49.798,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57011,
    "c": 0.20521,
    "h": 324.4
  },
  "luminance": 0.16062
}

Semantic roles & 50–950 ramp

primary
#AF3EB9
secondary
#90C78C
accent
#D94E5A
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF3EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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