#AF4ECF#AF4ECF

#AF4ECF is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.1% C 0.204 H 316.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AF4ECF
RGBrgb(175, 78, 207)
HSLhsl(285, 57%, 56%)
HSVhsv(285, 62%, 81%)
CMYKcmyk(15.5%, 62.3%, 0%, 18.8%)
CIE-LABlab(50.77, 58.82, -49.79)
CIE-LCHlch(50.77, 77.06, 319.76°)
OKLaboklab(60.09% 0.1485 -0.1394)
OKLCHoklch(60.09% 0.204 316.8)
XYZxyz(31.6644, 19.0689, 61.0321)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4ECF #6ECF4E
analogous
#6E4ECF #AF4ECF #CF4EAE
triadic
#AF4ECF #CFAF4E #4ECFAF
tetradic
#AF4ECF #CF6E4E #6ECF4E #4EAECF
square
#AF4ECF #CF6E4E #6ECF4E #4EAECF
split-complementary
#AF4ECF #AECF4E #4ECF6E
monochromatic
#692380 #9030B0 #AF4ECF #C57EDC #DBAEE9

Accessibility & contrast

On white

4.36
#AF4ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#AF4ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4ECF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4ECF#FFFFFF#000000##000000
##AF4ECF1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2473D3
Deuteranopia (green-blind)
#507CCC
Tritanopia (blue-blind)
#AE6588
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #af4ecf;
/* rgb */ color: rgb(175, 78, 207);
/* oklch */ color: oklch(60.1% 0.204 316.8);
Tailwind
colors: {
  custom: {
    50: '#ca85de',
    500: '#af4ecf',
    950: '#000000',
  },
}
SCSS
$custom: #af4ecf;
$custom-light: #ca85de;
$custom-dark: #000000;
JSON
{
  "hex": "#af4ecf",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 207
  },
  "hsl": {
    "h": 285.116,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.6009,
    "c": 0.20373,
    "h": 316.8
  },
  "luminance": 0.19068
}

Semantic roles & 50–950 ramp

primary
#AF4ECF
secondary
#AFD7A2
accent
#E1476D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF4ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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