#AF35B1#AF35B1

#AF35B1 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.7% C 0.210 H 327.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AF35B1
RGBrgb(175, 53, 177)
HSLhsl(299, 54%, 45%)
HSVhsv(299, 70%, 69%)
CMYKcmyk(1.1%, 70.1%, 0%, 30.6%)
CIE-LABlab(45.41, 63.53, -40.90)
CIE-LCHlch(45.41, 75.56, 327.23°)
OKLaboklab(55.68% 0.1763 -0.1133)
OKLCHoklch(55.68% 0.21 327.3)
XYZxyz(26.8877, 14.8363, 43.0340)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF35B1 #37B135
analogous
#7135B1 #AF35B1 #B13575
triadic
#AF35B1 #B1AF35 #35B1AF
tetradic
#AF35B1 #B17135 #37B135 #3575B1
square
#AF35B1 #B17135 #37B135 #3575B1
split-complementary
#AF35B1 #75B135 #35B171
monochromatic
#521953 #802782 #AF35B1 #CB57CD #D986DB

Accessibility & contrast

On white

5.29
#AF35B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AF35B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF35B1
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF35B1#FFFFFF#000000##FFFFFF
##AF35B11.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E61B4
Deuteranopia (green-blind)
#5471AE
Tritanopia (blue-blind)
#B4486F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af35b1;
/* rgb */ color: rgb(175, 53, 177);
/* oklch */ color: oklch(55.7% 0.210 327.3);
Tailwind
colors: {
  custom: {
    50: '#ca78c9',
    500: '#af35b1',
    950: '#000000',
  },
}
SCSS
$custom: #af35b1;
$custom-light: #ca78c9;
$custom-dark: #000000;
JSON
{
  "hex": "#af35b1",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 177
  },
  "hsl": {
    "h": 299.032,
    "s": 53.913,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55683,
    "c": 0.20956,
    "h": 327.3
  },
  "luminance": 0.14834
}

Semantic roles & 50–950 ramp

primary
#AF35B1
secondary
#7FC47D
accent
#DD4B4D
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF35B1

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

Preview Lab → · Contrast checker → · Palette generator →

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