#AF5ADE#AF5ADE

#AF5ADE is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.5% C 0.202 H 311.7°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AF5ADE
RGBrgb(175, 90, 222)
HSLhsl(279, 67%, 61%)
HSVhsv(279, 59%, 87%)
CMYKcmyk(21.2%, 59.5%, 0%, 12.9%)
CIE-LABlab(53.71, 56.26, -53.62)
CIE-LCHlch(53.71, 77.72, 316.38°)
OKLaboklab(62.5% 0.1341 -0.1507)
OKLCHoklch(62.5% 0.202 311.7)
XYZxyz(34.5178, 21.7010, 71.4634)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5ADE #89DE5A
analogous
#6D5ADE #AF5ADE #DE5ACB
triadic
#AF5ADE #DEAF5A #5ADEAF
tetradic
#AF5ADE #DE6D5A #89DE5A #5ACBDE
square
#AF5ADE #DE6D5A #89DE5A #5ACBDE
split-complementary
#AF5ADE #CBDE5A #5ADE6D
monochromatic
#71209E #952AD1 #AF5ADE #C88DE8 #E0C0F2

Accessibility & contrast

On white

3.93
#AF5ADE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#AF5ADE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5ADE
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5ADE#FFFFFF#000000##000000
##AF5ADE1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7CE2
Deuteranopia (green-blind)
#4F82DB
Tritanopia (blue-blind)
#AA7294
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #af5ade;
/* rgb */ color: rgb(175, 90, 222);
/* oklch */ color: oklch(62.5% 0.202 311.7);
Tailwind
colors: {
  custom: {
    50: '#ca8de9',
    500: '#af5ade',
    950: '#000000',
  },
}
SCSS
$custom: #af5ade;
$custom-light: #ca8de9;
$custom-dark: #000000;
JSON
{
  "hex": "#af5ade",
  "rgb": {
    "r": 175,
    "g": 90,
    "b": 222
  },
  "hsl": {
    "h": 278.636,
    "s": 66.667,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62501,
    "c": 0.20173,
    "h": 311.7
  },
  "luminance": 0.217
}

Semantic roles & 50–950 ramp

primary
#AF5ADE
secondary
#C3E3B1
accent
#CF1758
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF5ADE

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

Preview Lab → · Contrast checker → · Palette generator →

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