#AF4BCD#AF4BCD

#AF4BCD is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.6% C 0.206 H 317.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AF4BCD
RGBrgb(175, 75, 205)
HSLhsl(286, 57%, 55%)
HSVhsv(286, 63%, 80%)
CMYKcmyk(14.6%, 63.4%, 0%, 19.6%)
CIE-LABlab(50.16, 59.78, -49.61)
CIE-LCHlch(50.16, 77.68, 320.31°)
OKLaboklab(59.61% 0.1521 -0.1389)
OKLCHoklch(59.61% 0.206 317.6)
XYZxyz(31.2132, 18.5552, 59.6831)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4BCD #69CD4B
analogous
#6E4BCD #AF4BCD #CD4BAA
triadic
#AF4BCD #CDAF4B #4BCDAF
tetradic
#AF4BCD #CD6E4B #69CD4B #4BAACD
square
#AF4BCD #CD6E4B #69CD4B #4BAACD
split-complementary
#AF4BCD #AACD4B #4BCD6E
monochromatic
#67227B #8F30AB #AF4BCD #C47BDA #DAABE8

Accessibility & contrast

On white

4.46
#AF4BCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#AF4BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4BCD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4BCD#FFFFFF#000000##000000
##AF4BCD1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2071D1
Deuteranopia (green-blind)
#4F7ACA
Tritanopia (blue-blind)
#AE6285
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af4bcd;
/* rgb */ color: rgb(175, 75, 205);
/* oklch */ color: oklch(59.6% 0.206 317.6);
Tailwind
colors: {
  custom: {
    50: '#ca84dd',
    500: '#af4bcd',
    950: '#000000',
  },
}
SCSS
$custom: #af4bcd;
$custom-light: #ca84dd;
$custom-dark: #000000;
JSON
{
  "hex": "#af4bcd",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 205
  },
  "hsl": {
    "h": 286.154,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59615,
    "c": 0.20596,
    "h": 317.6
  },
  "luminance": 0.18554
}

Semantic roles & 50–950 ramp

primary
#AF4BCD
secondary
#ABD59F
accent
#E0486B
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF4BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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