#AF5EEE#AF5EEE

#AF5EEE is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 64.0% C 0.213 H 307.3°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AF5EEE
RGBrgb(175, 94, 238)
HSLhsl(274, 81%, 65%)
HSVhsv(274, 61%, 93%)
CMYKcmyk(26.5%, 60.5%, 0%, 6.7%)
CIE-LABlab(55.37, 57.81, -59.95)
CIE-LCHlch(55.37, 83.28, 313.96°)
OKLaboklab(64.01% 0.1291 -0.1693)
OKLCHoklch(64.01% 0.213 307.3)
XYZxyz(37.1113, 23.2929, 83.4133)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5EEE #9DEE5E
analogous
#675EEE #AF5EEE #EE5EE5
triadic
#AF5EEE #EEAF5E #5EEEAF
tetradic
#AF5EEE #EE675E #9DEE5E #5EE5EE
square
#AF5EEE #EE675E #9DEE5E #5EE5EE
split-complementary
#AF5EEE #E5EE5E #5EEE67
monochromatic
#7314BE #9327E8 #AF5EEE #CB95F4 #E6CDFA

Accessibility & contrast

On white

3.71
#AF5EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#AF5EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5EEE
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5EEE#FFFFFF#000000##000000
##AF5EEE1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1682F3
Deuteranopia (green-blind)
#4585EB
Tritanopia (blue-blind)
#A57B9D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af5eee;
/* rgb */ color: rgb(175, 94, 238);
/* oklch */ color: oklch(64.0% 0.213 307.3);
Tailwind
colors: {
  custom: {
    50: '#cb90f4',
    500: '#af5eee',
    950: '#000000',
  },
}
SCSS
$custom: #af5eee;
$custom-light: #cb90f4;
$custom-dark: #000000;
JSON
{
  "hex": "#af5eee",
  "rgb": {
    "r": 175,
    "g": 94,
    "b": 238
  },
  "hsl": {
    "h": 273.75,
    "s": 80.899,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64014,
    "c": 0.21288,
    "h": 307.3
  },
  "luminance": 0.23292
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF5EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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