#AF35A7#AF35A7

#AF35A7 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.1% C 0.202 H 330.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#AF35A7
RGBrgb(175, 53, 167)
HSLhsl(304, 54%, 45%)
HSVhsv(304, 70%, 69%)
CMYKcmyk(0%, 69.7%, 4.6%, 31.4%)
CIE-LABlab(44.87, 61.88, -35.83)
CIE-LCHlch(44.87, 71.50, 329.93°)
OKLaboklab(55.13% 0.176 -0.0986)
OKLCHoklch(55.13% 0.202 330.7)
XYZxyz(25.9273, 14.4522, 37.9757)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF35A7 #35AF3D
analogous
#7A35AF #AF35A7 #AF356A
triadic
#AF35A7 #A7AF35 #35A7AF
tetradic
#AF35A7 #AF7A35 #35AF3D #356AAF
square
#AF35A7 #AF7A35 #35AF3D #356AAF
split-complementary
#AF35A7 #6AAF35 #35AF7A
monochromatic
#51194D #80277A #AF35A7 #CC56C4 #DA85D4

Accessibility & contrast

On white

5.40
#AF35A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AF35A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF35A7
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF35A7#FFFFFF#000000##FFFFFF
##AF35A71.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5FAA
Deuteranopia (green-blind)
#5970A4
Tritanopia (blue-blind)
#B6436A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af35a7;
/* rgb */ color: rgb(175, 53, 167);
/* oklch */ color: oklch(55.1% 0.202 330.7);
Tailwind
colors: {
  custom: {
    50: '#ca77c1',
    500: '#af35a7',
    950: '#000000',
  },
}
SCSS
$custom: #af35a7;
$custom-light: #ca77c1;
$custom-dark: #000000;
JSON
{
  "hex": "#af35a7",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 167
  },
  "hsl": {
    "h": 303.934,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55126,
    "c": 0.20174,
    "h": 330.7
  },
  "luminance": 0.1445
}

Semantic roles & 50–950 ramp

primary
#AF35A7
secondary
#7CC481
accent
#DD544B
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF35A7

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

Preview Lab → · Contrast checker → · Palette generator →

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