#AF5EE3#AF5EE3

#AF5EE3 is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.3% C 0.201 H 310.0°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#AF5EE3
RGBrgb(175, 94, 227)
HSLhsl(277, 70%, 63%)
HSVhsv(277, 59%, 89%)
CMYKcmyk(22.9%, 58.6%, 0%, 11%)
CIE-LABlab(54.73, 55.37, -54.81)
CIE-LCHlch(54.73, 77.92, 315.29°)
OKLaboklab(63.34% 0.1292 -0.1542)
OKLCHoklch(63.34% 0.201 310)
XYZxyz(35.5444, 22.6661, 75.1607)
Luminance0.2266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5EE3 #92E35E
analogous
#6C5EE3 #AF5EE3 #E35ED5
triadic
#AF5EE3 #E3AF5E #5EE3AF
tetradic
#AF5EE3 #E36C5E #92E35E #5ED5E3
square
#AF5EE3 #E36C5E #92E35E #5ED5E3
split-complementary
#AF5EE3 #D5E35E #5EE36C
monochromatic
#731DA9 #952ADA #AF5EE3 #C992EC #E3C6F5

Accessibility & contrast

On white

3.80
#AF5EE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#AF5EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5EE3
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5EE3#FFFFFF#000000##000000
##AF5EE31.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7FE7
Deuteranopia (green-blind)
#4F84E0
Tritanopia (blue-blind)
#A87798
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #af5ee3;
/* rgb */ color: rgb(175, 94, 227);
/* oklch */ color: oklch(63.3% 0.201 310.0);
Tailwind
colors: {
  custom: {
    50: '#ca8fec',
    500: '#af5ee3',
    950: '#000000',
  },
}
SCSS
$custom: #af5ee3;
$custom-light: #ca8fec;
$custom-dark: #000000;
JSON
{
  "hex": "#af5ee3",
  "rgb": {
    "r": 175,
    "g": 94,
    "b": 227
  },
  "hsl": {
    "h": 276.541,
    "s": 70.37,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63336,
    "c": 0.20119,
    "h": 310
  },
  "luminance": 0.22665
}

Semantic roles & 50–950 ramp

primary
#AF5EE3
secondary
#C9E6B6
accent
#D2135E
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #AF5EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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