#AF85DA#AF85DA

#AF85DA is a light, vivid violet. Relative luminance 0.310; OKLCH L 68.9% C 0.129 H 306.0°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#AF85DA
RGBrgb(175, 133, 218)
HSLhsl(270, 53%, 69%)
HSVhsv(270, 39%, 85%)
CMYKcmyk(19.7%, 39%, 0%, 14.5%)
CIE-LABlab(62.47, 32.43, -37.53)
CIE-LCHlch(62.47, 49.61, 310.83°)
OKLaboklab(68.94% 0.0757 -0.1041)
OKLCHoklch(68.94% 0.129 306)
XYZxyz(38.7191, 30.9512, 70.2505)
Luminance0.3095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF85DA #B0DA85
analogous
#8586DA #AF85DA #DA85DA
triadic
#AF85DA #DAAF85 #85DAAF
tetradic
#AF85DA #DA8586 #B0DA85 #85DADA
square
#AF85DA #DA8586 #B0DA85 #85DADA
split-complementary
#AF85DA #DADA85 #86DA85
monochromatic
#7235AF #9056CC #AF85DA #CEB4E8 #EDE3F6

Accessibility & contrast

On white

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

On black

7.19
#AF85DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF85DA
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF85DA#FFFFFF#000000##000000
##AF85DA1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7296DD
Deuteranopia (green-blind)
#7B97D8
Tritanopia (blue-blind)
#A992A5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af85da;
/* rgb */ color: rgb(175, 133, 218);
/* oklch */ color: oklch(68.9% 0.129 306.0);
Tailwind
colors: {
  custom: {
    50: '#c8a9e6',
    500: '#af85da',
    950: '#000000',
  },
}
SCSS
$custom: #af85da;
$custom-light: #c8a9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#af85da",
  "rgb": {
    "r": 175,
    "g": 133,
    "b": 218
  },
  "hsl": {
    "h": 269.647,
    "s": 53.459,
    "l": 68.824
  },
  "oklch": {
    "l": 0.68944,
    "c": 0.12874,
    "h": 306
  },
  "luminance": 0.30951
}

Semantic roles & 50–950 ramp

primary
#AF85DA
secondary
#DEEAD1
accent
#C12574
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AF85DA

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

Preview Lab → · Contrast checker → · Palette generator →

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