#AF3ECB#AF3ECB

#AF3ECB is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.1% C 0.221 H 318.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AF3ECB
RGBrgb(175, 62, 203)
HSLhsl(288, 58%, 52%)
HSVhsv(288, 69%, 80%)
CMYKcmyk(13.8%, 69.5%, 0%, 20.4%)
CIE-LABlab(48.10, 64.82, -51.76)
CIE-LCHlch(48.10, 82.95, 321.40°)
OKLaboklab(58.09% 0.1664 -0.1451)
OKLCHoklch(58.09% 0.221 318.9)
XYZxyz(30.1799, 16.8724, 58.1553)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3ECB #5ACB3E
analogous
#693ECB #AF3ECB #CB3EA1
triadic
#AF3ECB #CBAF3E #3ECBAF
tetradic
#AF3ECB #CB693E #5ACB3E #3EA1CB
square
#AF3ECB #CB693E #5ACB3E #3EA1CB
split-complementary
#AF3ECB #A1CB3E #3ECB69
monochromatic
#601E70 #892BA1 #AF3ECB #C36ED8 #D79EE5

Accessibility & contrast

On white

4.80
#AF3ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#AF3ECB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3ECB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3ECB#FFFFFF#000000##FFFFFF
##AF3ECB1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#4776C8
Tritanopia (blue-blind)
#AF5980
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af3ecb;
/* rgb */ color: rgb(175, 62, 203);
/* oklch */ color: oklch(58.1% 0.221 318.9);
Tailwind
colors: {
  custom: {
    50: '#cb7ddb',
    500: '#af3ecb',
    950: '#000000',
  },
}
SCSS
$custom: #af3ecb;
$custom-light: #cb7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ecb",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 203
  },
  "hsl": {
    "h": 288.085,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58094,
    "c": 0.22078,
    "h": 318.9
  },
  "luminance": 0.16871
}

Semantic roles & 50–950 ramp

primary
#AF3ECB
secondary
#A0D194
accent
#E14766
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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