#AF5EED#AF5EED

#AF5EED is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 64.0% C 0.212 H 307.6°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AF5EED
RGBrgb(175, 94, 237)
HSLhsl(274, 80%, 65%)
HSVhsv(274, 60%, 93%)
CMYKcmyk(26.2%, 60.3%, 0%, 7.1%)
CIE-LABlab(55.31, 57.58, -59.48)
CIE-LCHlch(55.31, 82.79, 314.07°)
OKLaboklab(63.95% 0.1291 -0.1679)
OKLCHoklch(63.95% 0.212 307.6)
XYZxyz(36.9648, 23.2343, 82.6417)
Luminance0.2323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5EED #9CED5E
analogous
#685EED #AF5EED #ED5EE3
triadic
#AF5EED #EDAF5E #5EEDAF
tetradic
#AF5EED #ED685E #9CED5E #5EE3ED
square
#AF5EED #ED685E #9CED5E #5EE3ED
split-complementary
#AF5EED #E3ED5E #5EED68
monochromatic
#7315BC #9427E7 #AF5EED #CA95F3 #E6CCF9

Accessibility & contrast

On white

3.72
#AF5EED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#AF5EED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5EED
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5EED#FFFFFF#000000##000000
##AF5EED1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1981F2
Deuteranopia (green-blind)
#4685EA
Tritanopia (blue-blind)
#A57A9D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af5eed;
/* rgb */ color: rgb(175, 94, 237);
/* oklch */ color: oklch(64.0% 0.212 307.6);
Tailwind
colors: {
  custom: {
    50: '#cb90f3',
    500: '#af5eed',
    950: '#000000',
  },
}
SCSS
$custom: #af5eed;
$custom-light: #cb90f3;
$custom-dark: #000000;
JSON
{
  "hex": "#af5eed",
  "rgb": {
    "r": 175,
    "g": 94,
    "b": 237
  },
  "hsl": {
    "h": 273.986,
    "s": 79.888,
    "l": 64.902
  },
  "oklch": {
    "l": 0.63951,
    "c": 0.21182,
    "h": 307.6
  },
  "luminance": 0.23234
}

Semantic roles & 50–950 ramp

primary
#AF5EED
secondary
#D0ECBB
accent
#DC0965
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF5EED

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

Preview Lab → · Contrast checker → · Palette generator →

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