#AF85E7#AF85E7

#AF85E7 is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.6% C 0.145 H 302.6°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#AF85E7
RGBrgb(175, 133, 231)
HSLhsl(266, 67%, 71%)
HSVhsv(266, 42%, 91%)
CMYKcmyk(24.2%, 42.4%, 0%, 9.4%)
CIE-LABlab(63.06, 35.44, -43.83)
CIE-LCHlch(63.06, 56.36, 308.95°)
OKLaboklab(69.59% 0.0781 -0.1223)
OKLCHoklch(69.59% 0.145 302.6)
XYZxyz(40.4874, 31.6585, 79.5635)
Luminance0.3166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF85E7 #BDE785
analogous
#858CE7 #AF85E7 #E085E7
triadic
#AF85E7 #E7AF85 #85E7AF
tetradic
#AF85E7 #E7858C #BDE785 #85E7E0
square
#AF85E7 #E7858C #BDE785 #85E7E0
split-complementary
#AF85E7 #E7E085 #8CE785
monochromatic
#6D28CA #8D52DD #AF85E7 #D1B8F1 #EEE5FA

Accessibility & contrast

On white

2.86
#AF85E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#AF85E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF85E7
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF85E7#FFFFFF#000000##000000
##AF85E71.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B98EB
Deuteranopia (green-blind)
#7598E4
Tritanopia (blue-blind)
#A595AB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af85e7;
/* rgb */ color: rgb(175, 133, 231);
/* oklch */ color: oklch(69.6% 0.145 302.6);
Tailwind
colors: {
  custom: {
    50: '#c9a9ef',
    500: '#af85e7',
    950: '#000000',
  },
}
SCSS
$custom: #af85e7;
$custom-light: #c9a9ef;
$custom-dark: #000000;
JSON
{
  "hex": "#af85e7",
  "rgb": {
    "r": 175,
    "g": 133,
    "b": 231
  },
  "hsl": {
    "h": 265.714,
    "s": 67.123,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69586,
    "c": 0.14515,
    "h": 302.6
  },
  "luminance": 0.31659
}

Semantic roles & 50–950 ramp

primary
#AF85E7
secondary
#E6F1D7
accent
#CF1680
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AF85E7

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

Preview Lab → · Contrast checker → · Palette generator →

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