#AF5ADF#AF5ADF

#AF5ADF is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.6% C 0.203 H 311.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AF5ADF
RGBrgb(175, 90, 223)
HSLhsl(278, 68%, 61%)
HSVhsv(278, 60%, 87%)
CMYKcmyk(21.5%, 59.6%, 0%, 12.5%)
CIE-LABlab(53.77, 56.48, -54.09)
CIE-LCHlch(53.77, 78.20, 316.23°)
OKLaboklab(62.56% 0.1341 -0.1521)
OKLCHoklch(62.56% 0.203 311.4)
XYZxyz(34.6522, 21.7548, 72.1714)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5ADF #8ADF5A
analogous
#6D5ADF #AF5ADF #DF5ACD
triadic
#AF5ADF #DFAF5A #5ADFAF
tetradic
#AF5ADF #DF6D5A #8ADF5A #5ACDDF
square
#AF5ADF #DF6D5A #8ADF5A #5ACDDF
split-complementary
#AF5ADF #CDDF5A #5ADF6D
monochromatic
#711FA0 #9629D3 #AF5ADF #C88DE9 #E1C1F3

Accessibility & contrast

On white

3.92
#AF5ADF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#AF5ADF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5ADF
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5ADF#FFFFFF#000000##000000
##AF5ADF1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#297CE3
Deuteranopia (green-blind)
#4F82DC
Tritanopia (blue-blind)
#A97394
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #af5adf;
/* rgb */ color: rgb(175, 90, 223);
/* oklch */ color: oklch(62.6% 0.203 311.4);
Tailwind
colors: {
  custom: {
    50: '#ca8dea',
    500: '#af5adf',
    950: '#000000',
  },
}
SCSS
$custom: #af5adf;
$custom-light: #ca8dea;
$custom-dark: #000000;
JSON
{
  "hex": "#af5adf",
  "rgb": {
    "r": 175,
    "g": 90,
    "b": 223
  },
  "hsl": {
    "h": 278.346,
    "s": 67.513,
    "l": 61.373
  },
  "oklch": {
    "l": 0.62562,
    "c": 0.20276,
    "h": 311.4
  },
  "luminance": 0.21754
}

Semantic roles & 50–950 ramp

primary
#AF5ADF
secondary
#C3E3B2
accent
#CF1659
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF5ADF

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

Preview Lab → · Contrast checker → · Palette generator →

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