#AF85F8#AF85F8

#AF85F8 is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.5% C 0.167 H 298.9°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#AF85F8
RGBrgb(175, 133, 248)
HSLhsl(262, 89%, 75%)
HSVhsv(262, 46%, 97%)
CMYKcmyk(29.4%, 46.4%, 0%, 2.7%)
CIE-LABlab(63.89, 39.50, -51.90)
CIE-LCHlch(63.89, 65.23, 307.27°)
OKLaboklab(70.48% 0.0806 -0.1458)
OKLCHoklch(70.48% 0.167 298.9)
XYZxyz(43.0060, 32.6660, 92.8282)
Luminance0.3267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF85F8 #CEF885
analogous
#8595F8 #AF85F8 #E885F8
triadic
#AF85F8 #F8AF85 #85F8AF
tetradic
#AF85F8 #F88595 #CEF885 #85F8E8
square
#AF85F8 #F88595 #CEF885 #85F8E8
split-complementary
#AF85F8 #F8E885 #95F885
monochromatic
#6311F1 #894BF5 #AF85F8 #D5BFFB #ECE2FD

Accessibility & contrast

On white

2.79
#AF85F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#AF85F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF85F8
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF85F8#FFFFFF#000000##000000
##AF85F81.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#619BFC
Deuteranopia (green-blind)
#6A9AF5
Tritanopia (blue-blind)
#A09AB3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #af85f8;
/* rgb */ color: rgb(175, 133, 248);
/* oklch */ color: oklch(70.5% 0.167 298.9);
Tailwind
colors: {
  custom: {
    50: '#caa9fb',
    500: '#af85f8',
    950: '#000000',
  },
}
SCSS
$custom: #af85f8;
$custom-light: #caa9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#af85f8",
  "rgb": {
    "r": 175,
    "g": 133,
    "b": 248
  },
  "hsl": {
    "h": 261.913,
    "s": 89.147,
    "l": 74.706
  },
  "oklch": {
    "l": 0.7048,
    "c": 0.16659,
    "h": 298.9
  },
  "luminance": 0.32666
}

Semantic roles & 50–950 ramp

primary
#AF85F8
secondary
#EAF5D6
accent
#E60092
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AF85F8

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

Preview Lab → · Contrast checker → · Palette generator →

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