#AF4ADF#AF4ADF

#AF4ADF is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.6% C 0.224 H 312.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AF4ADF
RGBrgb(175, 74, 223)
HSLhsl(281, 70%, 58%)
HSVhsv(281, 67%, 87%)
CMYKcmyk(21.5%, 66.8%, 0%, 12.5%)
CIE-LABlab(51.08, 63.84, -58.40)
CIE-LCHlch(51.08, 86.52, 317.55°)
OKLaboklab(60.62% 0.1525 -0.1646)
OKLCHoklch(60.62% 0.224 312.8)
XYZxyz(33.4449, 19.3402, 71.7690)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4ADF #7ADF4A
analogous
#644ADF #AF4ADF #DF4AC4
triadic
#AF4ADF #DFAF4A #4ADFAF
tetradic
#AF4ADF #DF644A #7ADF4A #4AC4DF
square
#AF4ADF #DF644A #7ADF4A #4AC4DF
split-complementary
#AF4ADF #C4DF4A #4ADF64
monochromatic
#6D1A94 #9323C8 #AF4ADF #C67EE8 #DDB2F1

Accessibility & contrast

On white

4.31
#AF4ADF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#AF4ADF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4ADF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4ADF#FFFFFF#000000##000000
##AF4ADF1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#3E7CDC
Tritanopia (blue-blind)
#AA688F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #af4adf;
/* rgb */ color: rgb(175, 74, 223);
/* oklch */ color: oklch(60.6% 0.224 312.8);
Tailwind
colors: {
  custom: {
    50: '#cb84ea',
    500: '#af4adf',
    950: '#000000',
  },
}
SCSS
$custom: #af4adf;
$custom-light: #cb84ea;
$custom-dark: #000000;
JSON
{
  "hex": "#af4adf",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 223
  },
  "hsl": {
    "h": 280.671,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60623,
    "c": 0.22437,
    "h": 312.8
  },
  "luminance": 0.19339
}

Semantic roles & 50–950 ramp

primary
#AF4ADF
secondary
#B8E0A5
accent
#ED3B74
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AF4ADF

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

Preview Lab → · Contrast checker → · Palette generator →

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