#AF5EDA#AF5EDA

#AF5EDA is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.8% C 0.192 H 312.3°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AF5EDA
RGBrgb(175, 94, 218)
HSLhsl(279, 63%, 61%)
HSVhsv(279, 57%, 85%)
CMYKcmyk(19.7%, 56.9%, 0%, 14.5%)
CIE-LABlab(54.22, 53.43, -50.54)
CIE-LCHlch(54.22, 73.55, 316.59°)
OKLaboklab(62.8% 0.129 -0.1417)
OKLCHoklch(62.8% 0.192 312.3)
XYZxyz(34.3346, 22.1822, 68.7890)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5EDA #89DA5E
analogous
#715EDA #AF5EDA #DA5EC7
triadic
#AF5EDA #DAAF5E #5EDAAF
tetradic
#AF5EDA #DA715E #89DA5E #5EC7DA
square
#AF5EDA #DA715E #89DA5E #5EC7DA
split-complementary
#AF5EDA #C7DA5E #5EDA71
monochromatic
#71239A #952FCC #AF5EDA #C890E5 #E0C2F1

Accessibility & contrast

On white

3.86
#AF5EDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#AF5EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5EDA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5EDA#FFFFFF#000000##000000
##AF5EDA1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#387DDE
Deuteranopia (green-blind)
#5683D7
Tritanopia (blue-blind)
#AA7493
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #af5eda;
/* rgb */ color: rgb(175, 94, 218);
/* oklch */ color: oklch(62.8% 0.192 312.3);
Tailwind
colors: {
  custom: {
    50: '#ca8fe6',
    500: '#af5eda',
    950: '#000000',
  },
}
SCSS
$custom: #af5eda;
$custom-light: #ca8fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#af5eda",
  "rgb": {
    "r": 175,
    "g": 94,
    "b": 218
  },
  "hsl": {
    "h": 279.194,
    "s": 62.626,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62802,
    "c": 0.19166,
    "h": 312.3
  },
  "luminance": 0.22181
}

Semantic roles & 50–950 ramp

primary
#AF5EDA
secondary
#C3E1B3
accent
#CA1B58
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #AF5EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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