#AF3BC8#AF3BC8

#AF3BC8 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.6% C 0.222 H 319.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AF3BC8
RGBrgb(175, 59, 200)
HSLhsl(289, 56%, 51%)
HSVhsv(289, 71%, 78%)
CMYKcmyk(12.5%, 70.5%, 0%, 21.6%)
CIE-LABlab(47.51, 65.41, -50.96)
CIE-LCHlch(47.51, 82.92, 322.08°)
OKLaboklab(57.62% 0.1696 -0.1427)
OKLCHoklch(57.62% 0.222 319.9)
XYZxyz(29.6672, 16.4135, 56.2378)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BC8 #54C83B
analogous
#683BC8 #AF3BC8 #C83B9A
triadic
#AF3BC8 #C8AF3B #3BC8AF
tetradic
#AF3BC8 #C8683B #54C83B #3B9AC8
square
#AF3BC8 #C8683B #54C83B #3B9AC8
split-complementary
#AF3BC8 #9AC83B #3BC868
monochromatic
#5D1E6B #872B9A #AF3BC8 #C36BD5 #D69BE3

Accessibility & contrast

On white

4.90
#AF3BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#AF3BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3BC8
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3BC8#FFFFFF#000000##FFFFFF
##AF3BC81.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#4775C5
Tritanopia (blue-blind)
#B0567E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af3bc8;
/* rgb */ color: rgb(175, 59, 200);
/* oklch */ color: oklch(57.6% 0.222 319.9);
Tailwind
colors: {
  custom: {
    50: '#cb7bd9',
    500: '#af3bc8',
    950: '#000000',
  },
}
SCSS
$custom: #af3bc8;
$custom-light: #cb7bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#af3bc8",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 200
  },
  "hsl": {
    "h": 289.362,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57616,
    "c": 0.2217,
    "h": 319.9
  },
  "luminance": 0.16412
}

Semantic roles & 50–950 ramp

primary
#AF3BC8
secondary
#9BCF90
accent
#DF4863
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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