#AF85E5#AF85E5

#AF85E5 is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.5% C 0.143 H 303.0°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#AF85E5
RGBrgb(175, 133, 229)
HSLhsl(266, 65%, 71%)
HSVhsv(266, 42%, 90%)
CMYKcmyk(23.6%, 41.9%, 0%, 10.2%)
CIE-LABlab(62.97, 34.97, -42.87)
CIE-LCHlch(62.97, 55.32, 309.20°)
OKLaboklab(69.49% 0.0778 -0.1195)
OKLCHoklch(69.49% 0.143 303)
XYZxyz(40.2065, 31.5462, 78.0844)
Luminance0.3155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF85E5 #BBE585
analogous
#858BE5 #AF85E5 #DF85E5
triadic
#AF85E5 #E5AF85 #85E5AF
tetradic
#AF85E5 #E5858B #BBE585 #85E5DF
square
#AF85E5 #E5858B #BBE585 #85E5DF
split-complementary
#AF85E5 #E5DF85 #8BE585
monochromatic
#6E2AC6 #8E53DA #AF85E5 #D0B7F0 #EEE6FA

Accessibility & contrast

On white

2.87
#AF85E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#AF85E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF85E5
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF85E5#FFFFFF#000000##000000
##AF85E51.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D97E9
Deuteranopia (green-blind)
#7698E2
Tritanopia (blue-blind)
#A695AA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af85e5;
/* rgb */ color: rgb(175, 133, 229);
/* oklch */ color: oklch(69.5% 0.143 303.0);
Tailwind
colors: {
  custom: {
    50: '#c9a9ed',
    500: '#af85e5',
    950: '#000000',
  },
}
SCSS
$custom: #af85e5;
$custom-light: #c9a9ed;
$custom-dark: #000000;
JSON
{
  "hex": "#af85e5",
  "rgb": {
    "r": 175,
    "g": 133,
    "b": 229
  },
  "hsl": {
    "h": 266.25,
    "s": 64.865,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69485,
    "c": 0.14263,
    "h": 303
  },
  "luminance": 0.31546
}

Semantic roles & 50–950 ramp

primary
#AF85E5
secondary
#E4F0D6
accent
#CD197E
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AF85E5

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

Preview Lab → · Contrast checker → · Palette generator →

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