#AF4FDA#AF4FDA

#AF4FDA is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 60.9% C 0.213 H 313.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AF4FDA
RGBrgb(175, 79, 218)
HSLhsl(281, 65%, 58%)
HSVhsv(281, 64%, 85%)
CMYKcmyk(19.7%, 63.8%, 0%, 14.5%)
CIE-LABlab(51.57, 60.60, -54.77)
CIE-LCHlch(51.57, 81.69, 317.90°)
OKLaboklab(60.88% 0.1472 -0.154)
OKLCHoklch(60.88% 0.213 313.7)
XYZxyz(33.1279, 19.7689, 68.3868)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4FDA #7ADA4F
analogous
#694FDA #AF4FDA #DA4FBF
triadic
#AF4FDA #DAAF4F #4FDAAF
tetradic
#AF4FDA #DA694F #7ADA4F #4FBFDA
square
#AF4FDA #DA694F #7ADA4F #4FBFDA
split-complementary
#AF4FDA #BFDA4F #4FDA69
monochromatic
#6D1E90 #9329C3 #AF4FDA #C682E5 #DDB4EF

Accessibility & contrast

On white

4.24
#AF4FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#AF4FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4FDA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4FDA#FFFFFF#000000##000000
##AF4FDA1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D76DE
Deuteranopia (green-blind)
#487DD7
Tritanopia (blue-blind)
#AB698E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af4fda;
/* rgb */ color: rgb(175, 79, 218);
/* oklch */ color: oklch(60.9% 0.213 313.7);
Tailwind
colors: {
  custom: {
    50: '#ca86e6',
    500: '#af4fda',
    950: '#000000',
  },
}
SCSS
$custom: #af4fda;
$custom-light: #ca86e6;
$custom-dark: #000000;
JSON
{
  "hex": "#af4fda",
  "rgb": {
    "r": 175,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 281.439,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6088,
    "c": 0.21304,
    "h": 313.7
  },
  "luminance": 0.19768
}

Semantic roles & 50–950 ramp

primary
#AF4FDA
secondary
#B8DEA7
accent
#E84074
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF4FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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