#AF85FD#AF85FD

#AF85FD is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.8% C 0.173 H 298.0°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#AF85FD
RGBrgb(175, 133, 253)
HSLhsl(261, 97%, 76%)
HSVhsv(261, 47%, 99%)
CMYKcmyk(30.8%, 47.4%, 0%, 0.8%)
CIE-LABlab(64.14, 40.73, -54.24)
CIE-LCHlch(64.14, 67.83, 306.90°)
OKLaboklab(70.76% 0.0811 -0.1526)
OKLCHoklch(70.76% 0.173 298)
XYZxyz(43.7921, 32.9804, 96.9682)
Luminance0.3298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF85FD #D3FD85
analogous
#8597FD #AF85FD #EB85FD
triadic
#AF85FD #FDAF85 #85FDAF
tetradic
#AF85FD #FD8597 #D3FD85 #85FDEB
square
#AF85FD #FD8597 #D3FD85 #85FDEB
split-complementary
#AF85FD #FDEB85 #97FD85
monochromatic
#600DFB #8849FC #AF85FD #D6C1FE #EBE1FF

Accessibility & contrast

On white

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

On black

7.60
#AF85FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF85FD
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF85FD#FFFFFF#000000##000000
##AF85FD1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#679AFA
Tritanopia (blue-blind)
#9F9BB5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #af85fd;
/* rgb */ color: rgb(175, 133, 253);
/* oklch */ color: oklch(70.8% 0.173 298.0);
Tailwind
colors: {
  custom: {
    50: '#caa9fe',
    500: '#af85fd',
    950: '#000000',
  },
}
SCSS
$custom: #af85fd;
$custom-light: #caa9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#af85fd",
  "rgb": {
    "r": 175,
    "g": 133,
    "b": 253
  },
  "hsl": {
    "h": 261,
    "s": 96.774,
    "l": 75.686
  },
  "oklch": {
    "l": 0.70755,
    "c": 0.17287,
    "h": 298
  },
  "luminance": 0.32981
}

Semantic roles & 50–950 ramp

primary
#AF85FD
secondary
#EBF7D4
accent
#E60095
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AF85FD

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

Preview Lab → · Contrast checker → · Palette generator →

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