#AF85DB#AF85DB

#AF85DB is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.0% C 0.130 H 305.7°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#AF85DB
RGBrgb(175, 133, 219)
HSLhsl(269, 54%, 69%)
HSVhsv(269, 39%, 86%)
CMYKcmyk(20.1%, 39.3%, 0%, 14.1%)
CIE-LABlab(62.51, 32.66, -38.02)
CIE-LCHlch(62.51, 50.12, 310.66°)
OKLaboklab(68.99% 0.0759 -0.1055)
OKLCHoklch(68.99% 0.13 305.7)
XYZxyz(38.8503, 31.0037, 70.9417)
Luminance0.3100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF85DB #B1DB85
analogous
#8586DB #AF85DB #DA85DB
triadic
#AF85DB #DBAF85 #85DBAF
tetradic
#AF85DB #DB8586 #B1DB85 #85DBDA
square
#AF85DB #DB8586 #B1DB85 #85DBDA
split-complementary
#AF85DB #DBDA85 #86DB85
monochromatic
#7134B1 #9056CD #AF85DB #CEB4E9 #EDE4F7

Accessibility & contrast

On white

2.92
#AF85DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#AF85DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF85DB
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF85DB#FFFFFF#000000##000000
##AF85DB1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7296DE
Deuteranopia (green-blind)
#7B97D9
Tritanopia (blue-blind)
#A892A6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af85db;
/* rgb */ color: rgb(175, 133, 219);
/* oklch */ color: oklch(69.0% 0.130 305.7);
Tailwind
colors: {
  custom: {
    50: '#c8a9e6',
    500: '#af85db',
    950: '#000000',
  },
}
SCSS
$custom: #af85db;
$custom-light: #c8a9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#af85db",
  "rgb": {
    "r": 175,
    "g": 133,
    "b": 219
  },
  "hsl": {
    "h": 269.302,
    "s": 54.43,
    "l": 69.02
  },
  "oklch": {
    "l": 0.68992,
    "c": 0.13,
    "h": 305.7
  },
  "luminance": 0.31003
}

Semantic roles & 50–950 ramp

primary
#AF85DB
secondary
#DEEBD1
accent
#C22475
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AF85DB

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

Preview Lab → · Contrast checker → · Palette generator →

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