#AF5ADB#AF5ADB

#AF5ADB is a light, vivid violet. Relative luminance 0.215; OKLCH L 62.3% C 0.199 H 312.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AF5ADB
RGBrgb(175, 90, 219)
HSLhsl(280, 64%, 61%)
HSVhsv(280, 59%, 86%)
CMYKcmyk(20.1%, 58.9%, 0%, 14.1%)
CIE-LABlab(53.54, 55.62, -52.20)
CIE-LCHlch(53.54, 76.28, 316.82°)
OKLaboklab(62.32% 0.1341 -0.1465)
OKLCHoklch(62.32% 0.199 312.5)
XYZxyz(34.1193, 21.5416, 69.3647)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5ADB #86DB5A
analogous
#6E5ADB #AF5ADB #DB5AC6
triadic
#AF5ADB #DBAF5A #5ADBAF
tetradic
#AF5ADB #DB6E5A #86DB5A #5AC6DB
square
#AF5ADB #DB6E5A #86DB5A #5AC6DB
split-complementary
#AF5ADB #C6DB5A #5ADB6E
monochromatic
#702199 #952CCB #AF5ADB #C78CE6 #E0BEF1

Accessibility & contrast

On white

3.96
#AF5ADB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#AF5ADB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5ADB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5ADB#FFFFFF#000000##000000
##AF5ADB1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7BDF
Deuteranopia (green-blind)
#5282D8
Tritanopia (blue-blind)
#AA7192
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #af5adb;
/* rgb */ color: rgb(175, 90, 219);
/* oklch */ color: oklch(62.3% 0.199 312.5);
Tailwind
colors: {
  custom: {
    50: '#ca8de7',
    500: '#af5adb',
    950: '#000000',
  },
}
SCSS
$custom: #af5adb;
$custom-light: #ca8de7;
$custom-dark: #000000;
JSON
{
  "hex": "#af5adb",
  "rgb": {
    "r": 175,
    "g": 90,
    "b": 219
  },
  "hsl": {
    "h": 279.535,
    "s": 64.179,
    "l": 60.588
  },
  "oklch": {
    "l": 0.62322,
    "c": 0.19861,
    "h": 312.5
  },
  "luminance": 0.21541
}

Semantic roles & 50–950 ramp

primary
#AF5ADB
secondary
#C1E1B0
accent
#CC1A56
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF5ADB

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

Preview Lab → · Contrast checker → · Palette generator →

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