#AF5EEA#AF5EEA

#AF5EEA is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 63.8% C 0.209 H 308.3°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AF5EEA
RGBrgb(175, 94, 234)
HSLhsl(275, 77%, 64%)
HSVhsv(275, 60%, 92%)
CMYKcmyk(25.2%, 59.8%, 0%, 8.2%)
CIE-LABlab(55.13, 56.92, -58.09)
CIE-LCHlch(55.13, 81.33, 314.42°)
OKLaboklab(63.76% 0.1292 -0.1638)
OKLCHoklch(63.76% 0.209 308.3)
XYZxyz(36.5302, 23.0604, 80.3526)
Luminance0.2306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5EEA #99EA5E
analogous
#695EEA #AF5EEA #EA5EDF
triadic
#AF5EEA #EAAF5E #5EEAAF
tetradic
#AF5EEA #EA695E #99EA5E #5EDFEA
square
#AF5EEA #EA695E #99EA5E #5EDFEA
split-complementary
#AF5EEA #DFEA5E #5EEA69
monochromatic
#7318B6 #9428E3 #AF5EEA #CA94F1 #E5CAF8

Accessibility & contrast

On white

3.74
#AF5EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#AF5EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5EEA
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5EEA#FFFFFF#000000##000000
##AF5EEA1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2081EE
Deuteranopia (green-blind)
#4985E7
Tritanopia (blue-blind)
#A6799B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af5eea;
/* rgb */ color: rgb(175, 94, 234);
/* oklch */ color: oklch(63.8% 0.209 308.3);
Tailwind
colors: {
  custom: {
    50: '#cb8ff1',
    500: '#af5eea',
    950: '#000000',
  },
}
SCSS
$custom: #af5eea;
$custom-light: #cb8ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#af5eea",
  "rgb": {
    "r": 175,
    "g": 94,
    "b": 234
  },
  "hsl": {
    "h": 274.714,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63764,
    "c": 0.20863,
    "h": 308.3
  },
  "luminance": 0.2306
}

Semantic roles & 50–950 ramp

primary
#AF5EEA
secondary
#CEEABA
accent
#D90C63
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF5EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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