#AF43B0#AF43B0

#AF43B0 is a mid, vivid purple. Relative luminance 0.163; OKLCH L 57.0% C 0.191 H 327.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AF43B0
RGBrgb(175, 67, 176)
HSLhsl(299, 45%, 48%)
HSVhsv(299, 62%, 69%)
CMYKcmyk(0.6%, 61.9%, 0%, 31%)
CIE-LABlab(47.32, 57.86, -37.28)
CIE-LCHlch(47.32, 68.83, 327.20°)
OKLaboklab(57.05% 0.1607 -0.103)
OKLCHoklch(57.05% 0.191 327.4)
XYZxyz(27.5224, 16.2646, 42.7556)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43B0 #44B043
analogous
#7943B0 #AF43B0 #B0437A
triadic
#AF43B0 #B0AF43 #43B0AF
tetradic
#AF43B0 #B07943 #44B043 #437AB0
square
#AF43B0 #B07943 #44B043 #437AB0
split-complementary
#AF43B0 #7AB043 #43B079
monochromatic
#572157 #833284 #AF43B0 #C56AC6 #D796D7

Accessibility & contrast

On white

4.94
#AF43B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AF43B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF43B0
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43B0#FFFFFF#000000##FFFFFF
##AF43B01.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3567B3
Deuteranopia (green-blind)
#5C75AD
Tritanopia (blue-blind)
#B45173
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af43b0;
/* rgb */ color: rgb(175, 67, 176);
/* oklch */ color: oklch(57.0% 0.191 327.4);
Tailwind
colors: {
  custom: {
    50: '#ca7ec8',
    500: '#af43b0',
    950: '#000000',
  },
}
SCSS
$custom: #af43b0;
$custom-light: #ca7ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#af43b0",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 176
  },
  "hsl": {
    "h": 299.45,
    "s": 44.856,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57045,
    "c": 0.1909,
    "h": 327.4
  },
  "luminance": 0.16263
}

Semantic roles & 50–950 ramp

primary
#AF43B0
secondary
#8CC38C
accent
#D55354
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF43B0

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

Preview Lab → · Contrast checker → · Palette generator →

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