#AF46CE#AF46CE

#AF46CE is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.1% C 0.214 H 317.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AF46CE
RGBrgb(175, 70, 206)
HSLhsl(286, 58%, 54%)
HSVhsv(286, 66%, 81%)
CMYKcmyk(15%, 66%, 0%, 19.2%)
CIE-LABlab(49.44, 62.15, -51.34)
CIE-LCHlch(49.44, 80.61, 320.44°)
OKLaboklab(59.11% 0.1578 -0.1439)
OKLCHoklch(59.11% 0.214 317.6)
XYZxyz(31.0083, 17.9518, 60.2122)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF46CE #65CE46
analogous
#6B46CE #AF46CE #CE46A9
triadic
#AF46CE #CEAF46 #46CEAF
tetradic
#AF46CE #CE6B46 #65CE46 #46A9CE
square
#AF46CE #CE6B46 #65CE46 #46A9CE
split-complementary
#AF46CE #A9CE46 #46CE6B
monochromatic
#652079 #8D2DAA #AF46CE #C476DB #D9A7E8

Accessibility & contrast

On white

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

On black

4.59
#AF46CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF46CE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF46CE#FFFFFF#000000##000000
##AF46CE1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B6FD2
Deuteranopia (green-blind)
#4B79CB
Tritanopia (blue-blind)
#AE5F84
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af46ce;
/* rgb */ color: rgb(175, 70, 206);
/* oklch */ color: oklch(59.1% 0.214 317.6);
Tailwind
colors: {
  custom: {
    50: '#ca81de',
    500: '#af46ce',
    950: '#000000',
  },
}
SCSS
$custom: #af46ce;
$custom-light: #ca81de;
$custom-dark: #000000;
JSON
{
  "hex": "#af46ce",
  "rgb": {
    "r": 175,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 286.324,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59111,
    "c": 0.21354,
    "h": 317.6
  },
  "luminance": 0.17951
}

Semantic roles & 50–950 ramp

primary
#AF46CE
secondary
#A8D59B
accent
#E1466A
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF46CE

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

Preview Lab → · Contrast checker → · Palette generator →

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