#AF4BCF#AF4BCF

#AF4BCF is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 59.7% C 0.208 H 317.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AF4BCF
RGBrgb(175, 75, 207)
HSLhsl(285, 58%, 55%)
HSVhsv(285, 64%, 81%)
CMYKcmyk(15.5%, 63.8%, 0%, 18.8%)
CIE-LABlab(50.28, 60.17, -50.57)
CIE-LCHlch(50.28, 78.60, 319.96°)
OKLaboklab(59.74% 0.1521 -0.1417)
OKLCHoklch(59.74% 0.208 317)
XYZxyz(31.4561, 18.6523, 60.9627)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4BCF #6BCF4B
analogous
#6D4BCF #AF4BCF #CF4BAD
triadic
#AF4BCF #CFAF4B #4BCFAF
tetradic
#AF4BCF #CF6D4B #6BCF4B #4BADCF
square
#AF4BCF #CF6D4B #6BCF4B #4BADCF
split-complementary
#AF4BCF #ADCF4B #4BCF6D
monochromatic
#68227E #8F2EAE #AF4BCF #C47BDC #DAACE9

Accessibility & contrast

On white

4.44
#AF4BCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#AF4BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4BCF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4BCF#FFFFFF#000000##000000
##AF4BCF1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C71D3
Deuteranopia (green-blind)
#4E7BCC
Tritanopia (blue-blind)
#AE6386
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #af4bcf;
/* rgb */ color: rgb(175, 75, 207);
/* oklch */ color: oklch(59.7% 0.208 317.0);
Tailwind
colors: {
  custom: {
    50: '#ca84de',
    500: '#af4bcf',
    950: '#000000',
  },
}
SCSS
$custom: #af4bcf;
$custom-light: #ca84de;
$custom-dark: #000000;
JSON
{
  "hex": "#af4bcf",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 207
  },
  "hsl": {
    "h": 285.455,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59736,
    "c": 0.20785,
    "h": 317
  },
  "luminance": 0.18651
}

Semantic roles & 50–950 ramp

primary
#AF4BCF
secondary
#ADD69F
accent
#E1476C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF4BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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