#AF4BC0#AF4BC0

#AF4BC0 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.9% C 0.194 H 321.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AF4BC0
RGBrgb(175, 75, 192)
HSLhsl(291, 48%, 52%)
HSVhsv(291, 61%, 75%)
CMYKcmyk(8.9%, 60.9%, 0%, 24.7%)
CIE-LABlab(49.44, 57.26, -43.26)
CIE-LCHlch(49.44, 71.77, 322.93°)
OKLaboklab(58.86% 0.1519 -0.1204)
OKLCHoklch(58.86% 0.194 321.6)
XYZxyz(29.7087, 17.9534, 51.7594)
Luminance0.1795 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4BC0 #5CC04B
analogous
#754BC0 #AF4BC0 #C04B97
triadic
#AF4BC0 #C0AF4B #4BC0AF
tetradic
#AF4BC0 #C0754B #5CC04B #4B97C0
square
#AF4BC0 #C0754B #5CC04B #4B97C0
split-complementary
#AF4BC0 #97C04B #4BC075
monochromatic
#61256B #8A3598 #AF4BC0 #C378D0 #D7A6E0

Accessibility & contrast

On white

4.57
#AF4BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#AF4BC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4BC0
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4BC0#FFFFFF#000000##000000
##AF4BC01.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#326EC4
Deuteranopia (green-blind)
#5879BD
Tritanopia (blue-blind)
#B15D7F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af4bc0;
/* rgb */ color: rgb(175, 75, 192);
/* oklch */ color: oklch(58.9% 0.194 321.6);
Tailwind
colors: {
  custom: {
    50: '#ca83d3',
    500: '#af4bc0',
    950: '#000000',
  },
}
SCSS
$custom: #af4bc0;
$custom-light: #ca83d3;
$custom-dark: #000000;
JSON
{
  "hex": "#af4bc0",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 192
  },
  "hsl": {
    "h": 291.282,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58858,
    "c": 0.19381,
    "h": 321.6
  },
  "luminance": 0.17952
}

Semantic roles & 50–950 ramp

primary
#AF4BC0
secondary
#A1CD9A
accent
#D85064
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF4BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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