#AF85DF#AF85DF

#AF85DF is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.2% C 0.135 H 304.6°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#AF85DF
RGBrgb(175, 133, 223)
HSLhsl(268, 58%, 70%)
HSVhsv(268, 40%, 87%)
CMYKcmyk(21.5%, 40.4%, 0%, 12.5%)
CIE-LABlab(62.69, 33.58, -39.97)
CIE-LCHlch(62.69, 52.20, 310.03°)
OKLaboklab(69.19% 0.0767 -0.1111)
OKLCHoklch(69.19% 0.135 304.6)
XYZxyz(39.3833, 31.2169, 73.7484)
Luminance0.3122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF85DF #B5DF85
analogous
#8588DF #AF85DF #DC85DF
triadic
#AF85DF #DFAF85 #85DFAF
tetradic
#AF85DF #DF8588 #B5DF85 #85DFDC
square
#AF85DF #DF8588 #B5DF85 #85DFDC
split-complementary
#AF85DF #DFDC85 #88DF85
monochromatic
#7031B9 #8F55D2 #AF85DF #CFB5EC #EFE6F8

Accessibility & contrast

On white

2.90
#AF85DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#AF85DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF85DF
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF85DF#FFFFFF#000000##000000
##AF85DF1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7096E2
Deuteranopia (green-blind)
#7998DD
Tritanopia (blue-blind)
#A793A7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af85df;
/* rgb */ color: rgb(175, 133, 223);
/* oklch */ color: oklch(69.2% 0.135 304.6);
Tailwind
colors: {
  custom: {
    50: '#c8a9e9',
    500: '#af85df',
    950: '#000000',
  },
}
SCSS
$custom: #af85df;
$custom-light: #c8a9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#af85df",
  "rgb": {
    "r": 175,
    "g": 133,
    "b": 223
  },
  "hsl": {
    "h": 268,
    "s": 58.442,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69187,
    "c": 0.13505,
    "h": 304.6
  },
  "luminance": 0.31217
}

Semantic roles & 50–950 ramp

primary
#AF85DF
secondary
#E1EDD3
accent
#C61F78
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AF85DF

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

Preview Lab → · Contrast checker → · Palette generator →

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