#AF5EE8#AF5EE8

#AF5EE8 is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.6% C 0.207 H 308.7°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#AF5EE8
RGBrgb(175, 94, 232)
HSLhsl(275, 75%, 64%)
HSVhsv(275, 59%, 91%)
CMYKcmyk(24.6%, 59.5%, 0%, 9%)
CIE-LABlab(55.02, 56.47, -57.16)
CIE-LCHlch(55.02, 80.35, 314.66°)
OKLaboklab(63.64% 0.1292 -0.1611)
OKLCHoklch(63.64% 0.207 308.7)
XYZxyz(36.2445, 22.9461, 78.8480)
Luminance0.2295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5EE8 #97E85E
analogous
#6A5EE8 #AF5EE8 #E85EDC
triadic
#AF5EE8 #E8AF5E #5EE8AF
tetradic
#AF5EE8 #E86A5E #97E85E #5EDCE8
square
#AF5EE8 #E86A5E #97E85E #5EDCE8
split-complementary
#AF5EE8 #DCE85E #5EE86A
monochromatic
#7319B2 #9428E0 #AF5EE8 #CA94F0 #E4C9F7

Accessibility & contrast

On white

3.76
#AF5EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#AF5EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5EE8
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5EE8#FFFFFF#000000##000000
##AF5EE81.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2480EC
Deuteranopia (green-blind)
#4B85E5
Tritanopia (blue-blind)
#A7799A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af5ee8;
/* rgb */ color: rgb(175, 94, 232);
/* oklch */ color: oklch(63.6% 0.207 308.7);
Tailwind
colors: {
  custom: {
    50: '#ca8ff0',
    500: '#af5ee8',
    950: '#000000',
  },
}
SCSS
$custom: #af5ee8;
$custom-light: #ca8ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#af5ee8",
  "rgb": {
    "r": 175,
    "g": 94,
    "b": 232
  },
  "hsl": {
    "h": 275.217,
    "s": 75,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63641,
    "c": 0.20651,
    "h": 308.7
  },
  "luminance": 0.22946
}

Semantic roles & 50–950 ramp

primary
#AF5EE8
secondary
#CDE9B9
accent
#D70E61
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF5EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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