#AF3DCF#AF3DCF

#AF3DCF is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.2% C 0.225 H 317.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AF3DCF
RGBrgb(175, 61, 207)
HSLhsl(287, 60%, 53%)
HSVhsv(287, 71%, 81%)
CMYKcmyk(15.5%, 70.5%, 0%, 18.8%)
CIE-LABlab(48.21, 65.97, -53.88)
CIE-LCHlch(48.21, 85.18, 320.76°)
OKLaboklab(58.25% 0.1672 -0.1513)
OKLCHoklch(58.25% 0.225 317.9)
XYZxyz(30.6088, 16.9578, 60.6802)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DCF #5DCF3D
analogous
#663DCF #AF3DCF #CF3DA6
triadic
#AF3DCF #CFAF3D #3DCFAF
tetradic
#AF3DCF #CF663D #5DCF3D #3DA6CF
square
#AF3DCF #CF663D #5DCF3D #3DA6CF
split-complementary
#AF3DCF #A6CF3D #3DCF66
monochromatic
#611D75 #8A29A6 #AF3DCF #C36EDB #D79FE7

Accessibility & contrast

On white

4.78
#AF3DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#AF3DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3DCF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DCF#FFFFFF#000000##FFFFFF
##AF3DCF1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#4376CC
Tritanopia (blue-blind)
#AE5A82
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af3dcf;
/* rgb */ color: rgb(175, 61, 207);
/* oklch */ color: oklch(58.2% 0.225 317.9);
Tailwind
colors: {
  custom: {
    50: '#cb7cde',
    500: '#af3dcf',
    950: '#000000',
  },
}
SCSS
$custom: #af3dcf;
$custom-light: #cb7cde;
$custom-dark: #000000;
JSON
{
  "hex": "#af3dcf",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 207
  },
  "hsl": {
    "h": 286.849,
    "s": 60.331,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58249,
    "c": 0.22546,
    "h": 317.9
  },
  "luminance": 0.16956
}

Semantic roles & 50–950 ramp

primary
#AF3DCF
secondary
#A2D494
accent
#E34467
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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