#AF4EC1#AF4EC1

#AF4EC1 is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.3% C 0.190 H 321.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AF4EC1
RGBrgb(175, 78, 193)
HSLhsl(291, 48%, 53%)
HSVhsv(291, 60%, 76%)
CMYKcmyk(9.3%, 59.6%, 0%, 24.3%)
CIE-LABlab(49.99, 56.08, -42.96)
CIE-LCHlch(49.99, 70.64, 322.54°)
OKLaboklab(59.28% 0.1482 -0.1195)
OKLCHoklch(59.28% 0.19 321.1)
XYZxyz(30.0281, 18.4144, 52.4144)
Luminance0.1841 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4EC1 #60C14E
analogous
#754EC1 #AF4EC1 #C14E99
triadic
#AF4EC1 #C1AF4E #4EC1AF
tetradic
#AF4EC1 #C1754E #60C14E #4E99C1
square
#AF4EC1 #C1754E #60C14E #4E99C1
split-complementary
#AF4EC1 #99C14E #4EC175
monochromatic
#63276E #8C369B #AF4EC1 #C37BD1 #D8A9E1

Accessibility & contrast

On white

4.48
#AF4EC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#AF4EC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4EC1
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4EC1#FFFFFF#000000##000000
##AF4EC11.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3570C5
Deuteranopia (green-blind)
#5A7BBE
Tritanopia (blue-blind)
#B16080
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af4ec1;
/* rgb */ color: rgb(175, 78, 193);
/* oklch */ color: oklch(59.3% 0.190 321.1);
Tailwind
colors: {
  custom: {
    50: '#ca85d4',
    500: '#af4ec1',
    950: '#000000',
  },
}
SCSS
$custom: #af4ec1;
$custom-light: #ca85d4;
$custom-dark: #000000;
JSON
{
  "hex": "#af4ec1",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 193
  },
  "hsl": {
    "h": 290.609,
    "s": 48.117,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59279,
    "c": 0.19041,
    "h": 321.1
  },
  "luminance": 0.18413
}

Semantic roles & 50–950 ramp

primary
#AF4EC1
secondary
#A4CE9D
accent
#D85065
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF4EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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