#AF4DD9#AF4DD9

#AF4DD9 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.6% C 0.215 H 314.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AF4DD9
RGBrgb(175, 77, 217)
HSLhsl(282, 65%, 58%)
HSVhsv(282, 65%, 85%)
CMYKcmyk(19.4%, 64.5%, 0%, 14.9%)
CIE-LABlab(51.19, 61.30, -54.82)
CIE-LCHlch(51.19, 82.23, 318.19°)
OKLaboklab(60.58% 0.1495 -0.1541)
OKLCHoklch(60.58% 0.215 314.1)
XYZxyz(32.8554, 19.4325, 67.6523)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4DD9 #77D94D
analogous
#694DD9 #AF4DD9 #D94DBD
triadic
#AF4DD9 #D9AF4D #4DD9AF
tetradic
#AF4DD9 #D9694D #77D94D #4DBDD9
square
#AF4DD9 #D9694D #77D94D #4DBDD9
split-complementary
#AF4DD9 #BDD94D #4DD969
monochromatic
#6C1E8D #9329C0 #AF4DD9 #C67FE4 #DCB2EF

Accessibility & contrast

On white

4.30
#AF4DD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#AF4DD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4DD9
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4DD9#FFFFFF#000000##000000
##AF4DD91.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0475DD
Deuteranopia (green-blind)
#477CD6
Tritanopia (blue-blind)
#AB688C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #af4dd9;
/* rgb */ color: rgb(175, 77, 217);
/* oklch */ color: oklch(60.6% 0.215 314.1);
Tailwind
colors: {
  custom: {
    50: '#cb85e5',
    500: '#af4dd9',
    950: '#000000',
  },
}
SCSS
$custom: #af4dd9;
$custom-light: #cb85e5;
$custom-dark: #000000;
JSON
{
  "hex": "#af4dd9",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 217
  },
  "hsl": {
    "h": 282,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60583,
    "c": 0.21473,
    "h": 314.1
  },
  "luminance": 0.19431
}

Semantic roles & 50–950 ramp

primary
#AF4DD9
secondary
#B6DDA5
accent
#E84072
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AF4DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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