#AF5EE5#AF5EE5

#AF5EE5 is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.5% C 0.203 H 309.5°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AF5EE5
RGBrgb(175, 94, 229)
HSLhsl(276, 72%, 63%)
HSVhsv(276, 59%, 90%)
CMYKcmyk(23.6%, 59%, 0%, 10.2%)
CIE-LABlab(54.84, 55.81, -55.75)
CIE-LCHlch(54.84, 78.89, 315.03°)
OKLaboklab(63.46% 0.1292 -0.157)
OKLCHoklch(63.46% 0.203 309.5)
XYZxyz(35.8220, 22.7771, 76.6229)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5EE5 #94E55E
analogous
#6B5EE5 #AF5EE5 #E55ED8
triadic
#AF5EE5 #E5AF5E #5EE5AF
tetradic
#AF5EE5 #E56B5E #94E55E #5ED8E5
square
#AF5EE5 #E56B5E #94E55E #5ED8E5
split-complementary
#AF5EE5 #D8E55E #5EE56B
monochromatic
#731CAD #9529DC #AF5EE5 #C993EE #E3C7F6

Accessibility & contrast

On white

3.78
#AF5EE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#AF5EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5EE5
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5EE5#FFFFFF#000000##000000
##AF5EE51.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2980E9
Deuteranopia (green-blind)
#4D84E2
Tritanopia (blue-blind)
#A87899
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #af5ee5;
/* rgb */ color: rgb(175, 94, 229);
/* oklch */ color: oklch(63.5% 0.203 309.5);
Tailwind
colors: {
  custom: {
    50: '#ca8fee',
    500: '#af5ee5',
    950: '#000000',
  },
}
SCSS
$custom: #af5ee5;
$custom-light: #ca8fee;
$custom-dark: #000000;
JSON
{
  "hex": "#af5ee5",
  "rgb": {
    "r": 175,
    "g": 94,
    "b": 229
  },
  "hsl": {
    "h": 276,
    "s": 72.193,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63457,
    "c": 0.20332,
    "h": 309.5
  },
  "luminance": 0.22777
}

Semantic roles & 50–950 ramp

primary
#AF5EE5
secondary
#CBE7B7
accent
#D4115F
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #AF5EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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