#AF85FA#AF85FA

#AF85FA is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.6% C 0.169 H 298.5°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#AF85FA
RGBrgb(175, 133, 250)
HSLhsl(262, 92%, 75%)
HSVhsv(262, 47%, 98%)
CMYKcmyk(30%, 46.8%, 0%, 2%)
CIE-LABlab(63.99, 39.99, -52.84)
CIE-LCHlch(63.99, 66.27, 307.12°)
OKLaboklab(70.59% 0.0808 -0.1485)
OKLCHoklch(70.59% 0.169 298.5)
XYZxyz(43.3179, 32.7908, 94.4710)
Luminance0.3279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF85FA #D0FA85
analogous
#8596FA #AF85FA #E985FA
triadic
#AF85FA #FAAF85 #85FAAF
tetradic
#AF85FA #FA8596 #D0FA85 #85FAE9
square
#AF85FA #FA8596 #D0FA85 #85FAE9
split-complementary
#AF85FA #FAE985 #96FA85
monochromatic
#620FF5 #884AF8 #AF85FA #D6C0FC #ECE2FE

Accessibility & contrast

On white

2.78
#AF85FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#AF85FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF85FA
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF85FA#FFFFFF#000000##000000
##AF85FA1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#609BFE
Deuteranopia (green-blind)
#699AF7
Tritanopia (blue-blind)
#A09BB4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #af85fa;
/* rgb */ color: rgb(175, 133, 250);
/* oklch */ color: oklch(70.6% 0.169 298.5);
Tailwind
colors: {
  custom: {
    50: '#caa9fc',
    500: '#af85fa',
    950: '#000000',
  },
}
SCSS
$custom: #af85fa;
$custom-light: #caa9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#af85fa",
  "rgb": {
    "r": 175,
    "g": 133,
    "b": 250
  },
  "hsl": {
    "h": 261.538,
    "s": 92.126,
    "l": 75.098
  },
  "oklch": {
    "l": 0.70589,
    "c": 0.1691,
    "h": 298.5
  },
  "luminance": 0.32791
}

Semantic roles & 50–950 ramp

primary
#AF85FA
secondary
#EAF6D5
accent
#E60093
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AF85FA

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

Preview Lab → · Contrast checker → · Palette generator →

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