#AF35AF#AF35AF

#AF35AF is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.6% C 0.208 H 327.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AF35AF
RGBrgb(175, 53, 175)
HSLhsl(300, 54%, 45%)
HSVhsv(300, 70%, 69%)
CMYKcmyk(0%, 69.7%, 0%, 31.4%)
CIE-LABlab(45.30, 63.20, -39.89)
CIE-LCHlch(45.30, 74.73, 327.74°)
OKLaboklab(55.57% 0.1763 -0.1104)
OKLCHoklch(55.57% 0.208 327.9)
XYZxyz(26.6898, 14.7572, 41.9918)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF35AF #35AF35
analogous
#7235AF #AF35AF #AF3572
triadic
#AF35AF #AFAF35 #35AFAF
tetradic
#AF35AF #AF7235 #35AF35 #3572AF
square
#AF35AF #AF7235 #35AF35 #3572AF
split-complementary
#AF35AF #72AF35 #35AF72
monochromatic
#511951 #802780 #AF35AF #CC56CC #DA85DA

Accessibility & contrast

On white

5.32
#AF35AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#AF35AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF35AF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF35AF#FFFFFF#000000##FFFFFF
##AF35AF1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2161B2
Deuteranopia (green-blind)
#5571AC
Tritanopia (blue-blind)
#B4476E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af35af;
/* rgb */ color: rgb(175, 53, 175);
/* oklch */ color: oklch(55.6% 0.208 327.9);
Tailwind
colors: {
  custom: {
    50: '#ca78c7',
    500: '#af35af',
    950: '#000000',
  },
}
SCSS
$custom: #af35af;
$custom-light: #ca78c7;
$custom-dark: #000000;
JSON
{
  "hex": "#af35af",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 300,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5557,
    "c": 0.20798,
    "h": 327.9
  },
  "luminance": 0.14755
}

Semantic roles & 50–950 ramp

primary
#AF35AF
secondary
#7CC47C
accent
#DD4B4B
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF35AF

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

Preview Lab → · Contrast checker → · Palette generator →

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