#AF5EE9#AF5EE9

#AF5EE9 is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 63.7% C 0.208 H 308.5°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AF5EE9
RGBrgb(175, 94, 233)
HSLhsl(275, 76%, 64%)
HSVhsv(275, 60%, 91%)
CMYKcmyk(24.9%, 59.7%, 0%, 8.6%)
CIE-LABlab(55.08, 56.69, -57.62)
CIE-LCHlch(55.08, 80.84, 314.53°)
OKLaboklab(63.7% 0.1292 -0.1624)
OKLCHoklch(63.7% 0.208 308.5)
XYZxyz(36.3869, 23.0031, 79.5982)
Luminance0.2300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5EE9 #98E95E
analogous
#6A5EE9 #AF5EE9 #E95EDE
triadic
#AF5EE9 #E9AF5E #5EE9AF
tetradic
#AF5EE9 #E96A5E #98E95E #5EDEE9
square
#AF5EE9 #E96A5E #98E95E #5EDEE9
split-complementary
#AF5EE9 #DEE95E #5EE96A
monochromatic
#7319B4 #9428E2 #AF5EE9 #CA94F0 #E5CAF8

Accessibility & contrast

On white

3.75
#AF5EE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#AF5EE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5EE9
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5EE9#FFFFFF#000000##000000
##AF5EE91.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2281ED
Deuteranopia (green-blind)
#4A85E6
Tritanopia (blue-blind)
#A7799B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af5ee9;
/* rgb */ color: rgb(175, 94, 233);
/* oklch */ color: oklch(63.7% 0.208 308.5);
Tailwind
colors: {
  custom: {
    50: '#ca8ff1',
    500: '#af5ee9',
    950: '#000000',
  },
}
SCSS
$custom: #af5ee9;
$custom-light: #ca8ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#af5ee9",
  "rgb": {
    "r": 175,
    "g": 94,
    "b": 233
  },
  "hsl": {
    "h": 274.964,
    "s": 75.956,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63702,
    "c": 0.20757,
    "h": 308.5
  },
  "luminance": 0.23003
}

Semantic roles & 50–950 ramp

primary
#AF5EE9
secondary
#CDEAB9
accent
#D80D62
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF5EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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