#AF3FDF#AF3FDF

#AF3FDF is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.5% C 0.237 H 313.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AF3FDF
RGBrgb(175, 63, 223)
HSLhsl(282, 71%, 56%)
HSVhsv(282, 72%, 87%)
CMYKcmyk(21.5%, 71.7%, 0%, 12.5%)
CIE-LABlab(49.49, 68.32, -60.96)
CIE-LCHlch(49.49, 91.56, 318.26°)
OKLaboklab(59.49% 0.1636 -0.172)
OKLCHoklch(59.49% 0.237 313.6)
XYZxyz(32.7737, 17.9977, 71.5452)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3FDF #6FDF3F
analogous
#5F3FDF #AF3FDF #DF3FBF
triadic
#AF3FDF #DFAF3F #3FDFAF
tetradic
#AF3FDF #DF5F3F #6FDF3F #3FBFDF
square
#AF3FDF #DF5F3F #6FDF3F #3FBFDF
split-complementary
#AF3FDF #BFDF3F #3FDF5F
monochromatic
#69178C #9120C1 #AF3FDF #C573E8 #DBA8F0

Accessibility & contrast

On white

4.57
#AF3FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#AF3FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF3FDF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3FDF#FFFFFF#000000##000000
##AF3FDF1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070E4
Deuteranopia (green-blind)
#3278DB
Tritanopia (blue-blind)
#AA628C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af3fdf;
/* rgb */ color: rgb(175, 63, 223);
/* oklch */ color: oklch(59.5% 0.237 313.6);
Tailwind
colors: {
  custom: {
    50: '#cb7eea',
    500: '#af3fdf',
    950: '#000000',
  },
}
SCSS
$custom: #af3fdf;
$custom-light: #cb7eea;
$custom-dark: #000000;
JSON
{
  "hex": "#af3fdf",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 223
  },
  "hsl": {
    "h": 282,
    "s": 71.429,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59489,
    "c": 0.23742,
    "h": 313.6
  },
  "luminance": 0.17997
}

Semantic roles & 50–950 ramp

primary
#AF3FDF
secondary
#B0DE9C
accent
#EE3A70
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #AF3FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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