#AF4DDD#AF4DDD

#AF4DDD is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.8% C 0.219 H 313.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AF4DDD
RGBrgb(175, 77, 221)
HSLhsl(281, 68%, 58%)
HSVhsv(281, 65%, 87%)
CMYKcmyk(20.8%, 65.2%, 0%, 13.3%)
CIE-LABlab(51.43, 62.12, -56.70)
CIE-LCHlch(51.43, 84.11, 317.61°)
OKLaboklab(60.83% 0.1493 -0.1597)
OKLCHoklch(60.83% 0.219 313.1)
XYZxyz(33.3819, 19.6431, 70.4256)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4DDD #7BDD4D
analogous
#674DDD #AF4DDD #DD4DC3
triadic
#AF4DDD #DDAF4D #4DDDAF
tetradic
#AF4DDD #DD674D #7BDD4D #4DC3DD
square
#AF4DDD #DD674D #7BDD4D #4DC3DD
split-complementary
#AF4DDD #C3DD4D #4DDD67
monochromatic
#6D1C93 #9326C7 #AF4DDD #C680E7 #DDB4F1

Accessibility & contrast

On white

4.26
#AF4DDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#AF4DDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4DDD
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4DDD#FFFFFF#000000##000000
##AF4DDD1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#437DDA
Tritanopia (blue-blind)
#AA698F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af4ddd;
/* rgb */ color: rgb(175, 77, 221);
/* oklch */ color: oklch(60.8% 0.219 313.1);
Tailwind
colors: {
  custom: {
    50: '#cb85e8',
    500: '#af4ddd',
    950: '#000000',
  },
}
SCSS
$custom: #af4ddd;
$custom-light: #cb85e8;
$custom-dark: #000000;
JSON
{
  "hex": "#af4ddd",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 221
  },
  "hsl": {
    "h": 280.833,
    "s": 67.925,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60834,
    "c": 0.2186,
    "h": 313.1
  },
  "luminance": 0.19642
}

Semantic roles & 50–950 ramp

primary
#AF4DDD
secondary
#B9DFA6
accent
#EB3D75
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF4DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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