#AF3EB7#AF3EB7

#AF3EB7 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 56.9% C 0.204 H 325.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AF3EB7
RGBrgb(175, 62, 183)
HSLhsl(296, 49%, 48%)
HSVhsv(296, 66%, 72%)
CMYKcmyk(4.4%, 66.1%, 0%, 28.2%)
CIE-LABlab(46.95, 61.16, -41.98)
CIE-LCHlch(46.95, 74.18, 325.54°)
OKLaboklab(56.9% 0.1668 -0.1165)
OKLCHoklch(56.9% 0.204 325.1)
XYZxyz(27.9484, 15.9798, 46.4029)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3EB7 #46B73E
analogous
#723EB7 #AF3EB7 #B73E82
triadic
#AF3EB7 #B7AF3E #3EB7AF
tetradic
#AF3EB7 #B7723E #46B73E #3E82B7
square
#AF3EB7 #B7723E #46B73E #3E82B7
split-complementary
#AF3EB7 #82B73E #3EB772
monochromatic
#581F5C #832F89 #AF3EB7 #C567CB #D694DB

Accessibility & contrast

On white

5.01
#AF3EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#AF3EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3EB7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3EB7#FFFFFF#000000##FFFFFF
##AF3EB71.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2666BB
Deuteranopia (green-blind)
#5574B4
Tritanopia (blue-blind)
#B35075
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af3eb7;
/* rgb */ color: rgb(175, 62, 183);
/* oklch */ color: oklch(56.9% 0.204 325.1);
Tailwind
colors: {
  custom: {
    50: '#ca7ccd',
    500: '#af3eb7',
    950: '#000000',
  },
}
SCSS
$custom: #af3eb7;
$custom-light: #ca7ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#af3eb7",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 296.033,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56897,
    "c": 0.20351,
    "h": 325.1
  },
  "luminance": 0.15978
}

Semantic roles & 50–950 ramp

primary
#AF3EB7
secondary
#8EC68A
accent
#D94F58
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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