#AF35CD#AF35CD

#AF35CD is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.4% C 0.233 H 318.8°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AF35CD
RGBrgb(175, 53, 205)
HSLhsl(288, 60%, 51%)
HSVhsv(288, 74%, 80%)
CMYKcmyk(14.6%, 74.1%, 0%, 19.6%)
CIE-LABlab(47.07, 68.49, -54.57)
CIE-LCHlch(47.07, 87.57, 321.45°)
OKLaboklab(57.4% 0.1749 -0.1532)
OKLCHoklch(57.4% 0.233 318.8)
XYZxyz(29.9703, 16.0694, 59.2688)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF35CD #53CD35
analogous
#6335CD #AF35CD #CD359F
triadic
#AF35CD #CDAF35 #35CDAF
tetradic
#AF35CD #CD6335 #53CD35 #359FCD
square
#AF35CD #CD6335 #53CD35 #359FCD
split-complementary
#AF35CD #9FCD35 #35CD63
monochromatic
#5D1B6D #86279E #AF35CD #C266D9 #D697E5

Accessibility & contrast

On white

4.98
#AF35CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF35CD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF35CD#FFFFFF#000000##FFFFFF
##AF35CD1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#3E73CA
Tritanopia (blue-blind)
#AF547F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af35cd;
/* rgb */ color: rgb(175, 53, 205);
/* oklch */ color: oklch(57.4% 0.233 318.8);
Tailwind
colors: {
  custom: {
    50: '#cb79dd',
    500: '#af35cd',
    950: '#000000',
  },
}
SCSS
$custom: #af35cd;
$custom-light: #cb79dd;
$custom-dark: #000000;
JSON
{
  "hex": "#af35cd",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 205
  },
  "hsl": {
    "h": 288.158,
    "s": 60.317,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57397,
    "c": 0.23253,
    "h": 318.8
  },
  "luminance": 0.16068
}

Semantic roles & 50–950 ramp

primary
#AF35CD
secondary
#9AD18D
accent
#E34464
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #AF35CD

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

Preview Lab → · Contrast checker → · Palette generator →

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