#AF4FDE#AF4FDE

#AF4FDE is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.1% C 0.217 H 312.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AF4FDE
RGBrgb(175, 79, 222)
HSLhsl(280, 68%, 59%)
HSVhsv(280, 64%, 87%)
CMYKcmyk(21.2%, 64.4%, 0%, 12.9%)
CIE-LABlab(51.82, 61.43, -56.65)
CIE-LCHlch(51.82, 83.57, 317.32°)
OKLaboklab(61.13% 0.147 -0.1595)
OKLCHoklch(61.13% 0.217 312.7)
XYZxyz(33.6577, 19.9808, 71.1767)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4FDE #7EDE4F
analogous
#684FDE #AF4FDE #DE4FC5
triadic
#AF4FDE #DEAF4F #4FDEAF
tetradic
#AF4FDE #DE684F #7EDE4F #4FC5DE
square
#AF4FDE #DE684F #7EDE4F #4FC5DE
split-complementary
#AF4FDE #C5DE4F #4FDE68
monochromatic
#6E1C96 #9426CA #AF4FDE #C683E8 #DEB6F1

Accessibility & contrast

On white

4.20
#AF4FDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#AF4FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4FDE
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4FDE#FFFFFF#000000##000000
##AF4FDE1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E2
Deuteranopia (green-blind)
#447EDB
Tritanopia (blue-blind)
#AA6B90
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af4fde;
/* rgb */ color: rgb(175, 79, 222);
/* oklch */ color: oklch(61.1% 0.217 312.7);
Tailwind
colors: {
  custom: {
    50: '#cb86e9',
    500: '#af4fde',
    950: '#000000',
  },
}
SCSS
$custom: #af4fde;
$custom-light: #cb86e9;
$custom-dark: #000000;
JSON
{
  "hex": "#af4fde",
  "rgb": {
    "r": 175,
    "g": 79,
    "b": 222
  },
  "hsl": {
    "h": 280.28,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.6113,
    "c": 0.21695,
    "h": 312.7
  },
  "luminance": 0.1998
}

Semantic roles & 50–950 ramp

primary
#AF4FDE
secondary
#BBE0A8
accent
#EB3D76
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF4FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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