#AF85FF#AF85FF

#AF85FF is a light, vivid violet. Relative luminance 0.331; OKLCH L 70.9% C 0.175 H 297.6°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#AF85FF
RGBrgb(175, 133, 255)
HSLhsl(261, 100%, 76%)
HSVhsv(261, 48%, 100%)
CMYKcmyk(31.4%, 47.8%, 0%, 0%)
CIE-LABlab(64.25, 41.22, -55.17)
CIE-LCHlch(64.25, 68.87, 306.76°)
OKLaboklab(70.87% 0.0814 -0.1553)
OKLCHoklch(70.87% 0.175 297.6)
XYZxyz(44.1123, 33.1085, 98.6549)
Luminance0.3311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF85FF #D5FF85
analogous
#8598FF #AF85FF #EC85FF
triadic
#AF85FF #FFAF85 #85FFAF
tetradic
#AF85FF #FF8598 #D5FF85 #85FFEC
square
#AF85FF #FF8598 #D5FF85 #85FFEC
split-complementary
#AF85FF #FFEC85 #98FF85
monochromatic
#5F0BFF #8748FF #AF85FF #D7C2FF #EBE0FF

Accessibility & contrast

On white

2.76
#AF85FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#AF85FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF85FF
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF85FF#FFFFFF#000000##000000
##AF85FF1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9CFF
Deuteranopia (green-blind)
#659AFC
Tritanopia (blue-blind)
#9E9CB6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #af85ff;
/* rgb */ color: rgb(175, 133, 255);
/* oklch */ color: oklch(70.9% 0.175 297.6);
Tailwind
colors: {
  custom: {
    50: '#caa9ff',
    500: '#af85ff',
    950: '#000000',
  },
}
SCSS
$custom: #af85ff;
$custom-light: #caa9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#af85ff",
  "rgb": {
    "r": 175,
    "g": 133,
    "b": 255
  },
  "hsl": {
    "h": 260.656,
    "s": 100,
    "l": 76.078
  },
  "oklch": {
    "l": 0.70866,
    "c": 0.17537,
    "h": 297.6
  },
  "luminance": 0.33109
}

Semantic roles & 50–950 ramp

primary
#AF85FF
secondary
#EBF7D4
accent
#E60096
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #AF85FF

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

Preview Lab → · Contrast checker → · Palette generator →

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