#AF46DA#AF46DA

#AF46DA is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.9% C 0.225 H 314.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AF46DA
RGBrgb(175, 70, 218)
HSLhsl(283, 67%, 56%)
HSVhsv(283, 68%, 85%)
CMYKcmyk(19.7%, 67.9%, 0%, 14.5%)
CIE-LABlab(50.17, 64.52, -57.03)
CIE-LCHlch(50.17, 86.11, 318.53°)
OKLaboklab(59.87% 0.1571 -0.1606)
OKLCHoklch(59.87% 0.225 314.4)
XYZxyz(32.5221, 18.5573, 68.1848)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF46DA #71DA46
analogous
#6546DA #AF46DA #DA46BB
triadic
#AF46DA #DAAF46 #46DAAF
tetradic
#AF46DA #DA6546 #71DA46 #46BBDA
square
#AF46DA #DA6546 #71DA46 #46BBDA
split-complementary
#AF46DA #BBDA46 #46DA65
monochromatic
#6A1C8A #9126BD #AF46DA #C579E4 #DBACEE

Accessibility & contrast

On white

4.46
#AF46DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#AF46DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF46DA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF46DA#FFFFFF#000000##000000
##AF46DA1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#3F7AD7
Tritanopia (blue-blind)
#AB648B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af46da;
/* rgb */ color: rgb(175, 70, 218);
/* oklch */ color: oklch(59.9% 0.225 314.4);
Tailwind
colors: {
  custom: {
    50: '#cb81e6',
    500: '#af46da',
    950: '#000000',
  },
}
SCSS
$custom: #af46da;
$custom-light: #cb81e6;
$custom-dark: #000000;
JSON
{
  "hex": "#af46da",
  "rgb": {
    "r": 175,
    "g": 70,
    "b": 218
  },
  "hsl": {
    "h": 282.568,
    "s": 66.667,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59866,
    "c": 0.22464,
    "h": 314.4
  },
  "luminance": 0.18556
}

Semantic roles & 50–950 ramp

primary
#AF46DA
secondary
#B1DCA0
accent
#EA3E70
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AF46DA

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

Preview Lab → · Contrast checker → · Palette generator →

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