#AF3DCD#AF3DCD

#AF3DCD is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.1% C 0.224 H 318.4°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AF3DCD
RGBrgb(175, 61, 205)
HSLhsl(288, 59%, 52%)
HSVhsv(288, 70%, 80%)
CMYKcmyk(14.6%, 70.2%, 0%, 19.6%)
CIE-LABlab(48.08, 65.59, -52.93)
CIE-LCHlch(48.08, 84.28, 321.10°)
OKLaboklab(58.12% 0.1673 -0.1485)
OKLCHoklch(58.12% 0.224 318.4)
XYZxyz(30.3659, 16.8606, 59.4007)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DCD #5BCD3D
analogous
#673DCD #AF3DCD #CD3DA3
triadic
#AF3DCD #CDAF3D #3DCDAF
tetradic
#AF3DCD #CD673D #5BCD3D #3DA3CD
square
#AF3DCD #CD673D #5BCD3D #3DA3CD
split-complementary
#AF3DCD #A3CD3D #3DCD67
monochromatic
#611D72 #8A2AA3 #AF3DCD #C36EDA #D79EE6

Accessibility & contrast

On white

4.80
#AF3DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#AF3DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3DCD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DCD#FFFFFF#000000##FFFFFF
##AF3DCD1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#4476CA
Tritanopia (blue-blind)
#AE5981
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af3dcd;
/* rgb */ color: rgb(175, 61, 205);
/* oklch */ color: oklch(58.1% 0.224 318.4);
Tailwind
colors: {
  custom: {
    50: '#cb7cdd',
    500: '#af3dcd',
    950: '#000000',
  },
}
SCSS
$custom: #af3dcd;
$custom-light: #cb7cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#af3dcd",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 205
  },
  "hsl": {
    "h": 287.5,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58122,
    "c": 0.22371,
    "h": 318.4
  },
  "luminance": 0.16859
}

Semantic roles & 50–950 ramp

primary
#AF3DCD
secondary
#A1D293
accent
#E24666
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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