#AF3CE0#AF3CE0

#AF3CE0 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.3% C 0.242 H 313.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#AF3CE0
RGBrgb(175, 60, 224)
HSLhsl(282, 73%, 56%)
HSVhsv(282, 73%, 88%)
CMYKcmyk(21.9%, 73.2%, 0%, 12.2%)
CIE-LABlab(49.17, 69.64, -62.05)
CIE-LCHlch(49.17, 93.27, 318.30°)
OKLaboklab(59.28% 0.1663 -0.1753)
OKLCHoklch(59.28% 0.242 313.5)
XYZxyz(32.7473, 17.7285, 72.2035)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CE0 #6DE03C
analogous
#5D3CE0 #AF3CE0 #E03CBF
triadic
#AF3CE0 #E0AF3C #3CE0AF
tetradic
#AF3CE0 #E05D3C #6DE03C #3CBFE0
square
#AF3CE0 #E05D3C #6DE03C #3CBFE0
split-complementary
#AF3CE0 #BFE03C #3CE05D
monochromatic
#68168B #901FC0 #AF3CE0 #C571E8 #DAA6F1

Accessibility & contrast

On white

4.62
#AF3CE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#AF3CE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CE0
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CE0#FFFFFF#000000##FFFFFF
##AF3CE01.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE5
Deuteranopia (green-blind)
#2D77DC
Tritanopia (blue-blind)
#AA618B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af3ce0;
/* rgb */ color: rgb(175, 60, 224);
/* oklch */ color: oklch(59.3% 0.242 313.5);
Tailwind
colors: {
  custom: {
    50: '#cc7deb',
    500: '#af3ce0',
    950: '#000000',
  },
}
SCSS
$custom: #af3ce0;
$custom-light: #cc7deb;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ce0",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 224
  },
  "hsl": {
    "h": 282.073,
    "s": 72.566,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59277,
    "c": 0.24157,
    "h": 313.5
  },
  "luminance": 0.17727
}

Semantic roles & 50–950 ramp

primary
#AF3CE0
secondary
#AEDE9A
accent
#EF396F
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140A16
muted
#837C84

Preview Lab

Preview with #AF3CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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