#AF5DEE#AF5DEE

#AF5DEE is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 63.9% C 0.214 H 307.5°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#AF5DEE
RGBrgb(175, 93, 238)
HSLhsl(274, 81%, 65%)
HSVhsv(274, 61%, 93%)
CMYKcmyk(26.5%, 60.9%, 0%, 6.7%)
CIE-LABlab(55.19, 58.30, -60.24)
CIE-LCHlch(55.19, 83.83, 314.06°)
OKLaboklab(63.88% 0.1303 -0.1701)
OKLCHoklch(63.88% 0.214 307.5)
XYZxyz(37.0230, 23.1162, 83.3838)
Luminance0.2312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5DEE #9CEE5D
analogous
#665DEE #AF5DEE #EE5DE5
triadic
#AF5DEE #EEAF5D #5DEEAF
tetradic
#AF5DEE #EE665D #9CEE5D #5DE5EE
square
#AF5DEE #EE665D #9CEE5D #5DE5EE
split-complementary
#AF5DEE #E5EE5D #5DEE66
monochromatic
#7314BD #9426E8 #AF5DEE #CA94F4 #E6CCFA

Accessibility & contrast

On white

3.73
#AF5DEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#AF5DEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5DEE
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5DEE#FFFFFF#000000##000000
##AF5DEE1.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1081F3
Deuteranopia (green-blind)
#4385EB
Tritanopia (blue-blind)
#A57A9D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af5dee;
/* rgb */ color: rgb(175, 93, 238);
/* oklch */ color: oklch(63.9% 0.214 307.5);
Tailwind
colors: {
  custom: {
    50: '#cb8ff4',
    500: '#af5dee',
    950: '#000000',
  },
}
SCSS
$custom: #af5dee;
$custom-light: #cb8ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#af5dee",
  "rgb": {
    "r": 175,
    "g": 93,
    "b": 238
  },
  "hsl": {
    "h": 273.931,
    "s": 81.006,
    "l": 64.902
  },
  "oklch": {
    "l": 0.63882,
    "c": 0.21427,
    "h": 307.5
  },
  "luminance": 0.23116
}

Semantic roles & 50–950 ramp

primary
#AF5DEE
secondary
#D0ECBB
accent
#DD0865
background
#FCF9FF
surface
#F9F1FE
border
#D2CBD6
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF5DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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