#AF4BC8#AF4BC8

#AF4BC8 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.3% C 0.201 H 319.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#AF4BC8
RGBrgb(175, 75, 200)
HSLhsl(288, 53%, 54%)
HSVhsv(288, 63%, 78%)
CMYKcmyk(12.5%, 62.5%, 0%, 21.6%)
CIE-LABlab(49.88, 58.80, -47.18)
CIE-LCHlch(49.88, 75.39, 321.25°)
OKLaboklab(59.32% 0.1521 -0.1318)
OKLCHoklch(59.32% 0.201 319.1)
XYZxyz(30.6192, 18.3176, 56.5552)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4BC8 #64C84B
analogous
#714BC8 #AF4BC8 #C84BA3
triadic
#AF4BC8 #C8AF4B #4BC8AF
tetradic
#AF4BC8 #C8714B #64C84B #4BA3C8
square
#AF4BC8 #C8714B #64C84B #4BA3C8
split-complementary
#AF4BC8 #A3C84B #4BC871
monochromatic
#652475 #8D32A4 #AF4BC8 #C47AD6 #D9A9E5

Accessibility & contrast

On white

4.50
#AF4BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#AF4BC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4BC8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4BC8#FFFFFF#000000##000000
##AF4BC81.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2870CC
Deuteranopia (green-blind)
#537AC5
Tritanopia (blue-blind)
#AF6083
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af4bc8;
/* rgb */ color: rgb(175, 75, 200);
/* oklch */ color: oklch(59.3% 0.201 319.1);
Tailwind
colors: {
  custom: {
    50: '#ca83d9',
    500: '#af4bc8',
    950: '#000000',
  },
}
SCSS
$custom: #af4bc8;
$custom-light: #ca83d9;
$custom-dark: #000000;
JSON
{
  "hex": "#af4bc8",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 200
  },
  "hsl": {
    "h": 288,
    "s": 53.191,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59319,
    "c": 0.20125,
    "h": 319.1
  },
  "luminance": 0.18316
}

Semantic roles & 50–950 ramp

primary
#AF4BC8
secondary
#A7D29D
accent
#DD4B68
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF4BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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