#AF3ECE#AF3ECE

#AF3ECE is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.3% C 0.223 H 318.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AF3ECE
RGBrgb(175, 62, 206)
HSLhsl(287, 60%, 53%)
HSVhsv(287, 70%, 81%)
CMYKcmyk(15%, 69.9%, 0%, 19.2%)
CIE-LABlab(48.28, 65.39, -53.19)
CIE-LCHlch(48.28, 84.29, 320.87°)
OKLaboklab(58.28% 0.1662 -0.1493)
OKLCHoklch(58.28% 0.223 318.1)
XYZxyz(30.5408, 17.0168, 60.0564)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3ECE #5DCE3E
analogous
#673ECE #AF3ECE #CE3EA5
triadic
#AF3ECE #CEAF3E #3ECEAF
tetradic
#AF3ECE #CE673E #5DCE3E #3EA5CE
square
#AF3ECE #CE673E #5DCE3E #3EA5CE
split-complementary
#AF3ECE #A5CE3E #3ECE67
monochromatic
#611D74 #8A2AA5 #AF3ECE #C36FDA #D7A0E7

Accessibility & contrast

On white

4.77
#AF3ECE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#AF3ECE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3ECE
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3ECE#FFFFFF#000000##FFFFFF
##AF3ECE1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#4476CB
Tritanopia (blue-blind)
#AE5A82
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af3ece;
/* rgb */ color: rgb(175, 62, 206);
/* oklch */ color: oklch(58.3% 0.223 318.1);
Tailwind
colors: {
  custom: {
    50: '#cb7dde',
    500: '#af3ece',
    950: '#000000',
  },
}
SCSS
$custom: #af3ece;
$custom-light: #cb7dde;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ece",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 206
  },
  "hsl": {
    "h": 287.083,
    "s": 59.504,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58282,
    "c": 0.22342,
    "h": 318.1
  },
  "luminance": 0.17015
}

Semantic roles & 50–950 ramp

primary
#AF3ECE
secondary
#A2D395
accent
#E34567
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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