#AF3ECF#AF3ECF

#AF3ECF is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.3% C 0.224 H 317.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AF3ECF
RGBrgb(175, 62, 207)
HSLhsl(287, 60%, 53%)
HSVhsv(287, 70%, 81%)
CMYKcmyk(15.5%, 70%, 0%, 18.8%)
CIE-LABlab(48.34, 65.58, -53.67)
CIE-LCHlch(48.34, 84.74, 320.71°)
OKLaboklab(58.35% 0.1662 -0.1507)
OKLCHoklch(58.35% 0.224 317.8)
XYZxyz(30.6627, 17.0655, 60.6982)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3ECF #5ECF3E
analogous
#673ECF #AF3ECF #CF3EA6
triadic
#AF3ECF #CFAF3E #3ECFAF
tetradic
#AF3ECF #CF673E #5ECF3E #3EA6CF
square
#AF3ECF #CF673E #5ECF3E #3EA6CF
split-complementary
#AF3ECF #A6CF3E #3ECF67
monochromatic
#621D75 #8B29A6 #AF3ECF #C36FDB #D8A0E7

Accessibility & contrast

On white

4.76
#AF3ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#AF3ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3ECF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3ECF#FFFFFF#000000##FFFFFF
##AF3ECF1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#4376CC
Tritanopia (blue-blind)
#AE5A82
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af3ecf;
/* rgb */ color: rgb(175, 62, 207);
/* oklch */ color: oklch(58.3% 0.224 317.8);
Tailwind
colors: {
  custom: {
    50: '#cb7dde',
    500: '#af3ecf',
    950: '#000000',
  },
}
SCSS
$custom: #af3ecf;
$custom-light: #cb7dde;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ecf",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 207
  },
  "hsl": {
    "h": 286.759,
    "s": 60.166,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58346,
    "c": 0.2243,
    "h": 317.8
  },
  "luminance": 0.17064
}

Semantic roles & 50–950 ramp

primary
#AF3ECF
secondary
#A3D495
accent
#E34468
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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