#AF3DCC#AF3DCC

#AF3DCC is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.1% C 0.223 H 318.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AF3DCC
RGBrgb(175, 61, 204)
HSLhsl(288, 58%, 52%)
HSVhsv(288, 70%, 80%)
CMYKcmyk(14.2%, 70.1%, 0%, 20%)
CIE-LABlab(48.02, 65.40, -52.45)
CIE-LCHlch(48.02, 83.83, 321.27°)
OKLaboklab(58.06% 0.1674 -0.1471)
OKLCHoklch(58.06% 0.223 318.7)
XYZxyz(30.2456, 16.8125, 58.7670)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DCC #5ACC3D
analogous
#683DCC #AF3DCC #CC3DA2
triadic
#AF3DCC #CCAF3D #3DCCAF
tetradic
#AF3DCC #CC683D #5ACC3D #3DA2CC
square
#AF3DCC #CC683D #5ACC3D #3DA2CC
split-complementary
#AF3DCC #A2CC3D #3DCC68
monochromatic
#601E71 #892AA1 #AF3DCC #C36DD9 #D79EE5

Accessibility & contrast

On white

4.81
#AF3DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#AF3DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3DCC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DCC#FFFFFF#000000##FFFFFF
##AF3DCC1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#4576C9
Tritanopia (blue-blind)
#AF5981
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af3dcc;
/* rgb */ color: rgb(175, 61, 204);
/* oklch */ color: oklch(58.1% 0.223 318.7);
Tailwind
colors: {
  custom: {
    50: '#cb7cdc',
    500: '#af3dcc',
    950: '#000000',
  },
}
SCSS
$custom: #af3dcc;
$custom-light: #cb7cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#af3dcc",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 204
  },
  "hsl": {
    "h": 287.832,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58059,
    "c": 0.22284,
    "h": 318.7
  },
  "luminance": 0.16811
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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