#AF46CF#AF46CF

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

Color values

HEX#AF46CF
RGBrgb(175, 70, 207)
HSLhsl(286, 59%, 54%)
HSVhsv(286, 66%, 81%)
CMYKcmyk(15.5%, 66.2%, 0%, 18.8%)
CIE-LABlab(49.50, 62.34, -51.82)
CIE-LCHlch(49.50, 81.06, 320.27°)
OKLaboklab(59.17% 0.1577 -0.1453)
OKLCHoklch(59.17% 0.214 317.3)
XYZxyz(31.1302, 18.0005, 60.8540)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF46CF #66CF46
analogous
#6B46CF #AF46CF #CF46AB
triadic
#AF46CF #CFAF46 #46CFAF
tetradic
#AF46CF #CF6B46 #66CF46 #46ABCF
square
#AF46CF #CF6B46 #66CF46 #46ABCF
split-complementary
#AF46CF #ABCF46 #46CF6B
monochromatic
#66207B #8E2CAB #AF46CF #C477DC #D9A7E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF46CF#FFFFFF#000000##000000
##AF46CF1.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)
#066FD3
Deuteranopia (green-blind)
#4A79CC
Tritanopia (blue-blind)
#AE5F85
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af46cf;
/* rgb */ color: rgb(175, 70, 207);
/* oklch */ color: oklch(59.2% 0.214 317.3);
Tailwind
colors: {
  custom: {
    50: '#ca81de',
    500: '#af46cf',
    950: '#000000',
  },
}
SCSS
$custom: #af46cf;
$custom-light: #ca81de;
$custom-dark: #000000;
JSON
{
  "hex": "#af46cf",
  "rgb": {
    "r": 175,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 285.985,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59173,
    "c": 0.21445,
    "h": 317.3
  },
  "luminance": 0.17999
}

Semantic roles & 50–950 ramp

primary
#AF46CF
secondary
#A9D59B
accent
#E2466A
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF46CF

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

Preview Lab → · Contrast checker → · Palette generator →

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