#AF85FC#AF85FC

#AF85FC is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.7% C 0.172 H 298.2°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#AF85FC
RGBrgb(175, 133, 252)
HSLhsl(261, 95%, 75%)
HSVhsv(261, 47%, 99%)
CMYKcmyk(30.6%, 47.2%, 0%, 1.2%)
CIE-LABlab(64.09, 40.48, -53.77)
CIE-LCHlch(64.09, 67.31, 306.97°)
OKLaboklab(70.7% 0.081 -0.1513)
OKLCHoklch(70.7% 0.172 298.2)
XYZxyz(43.6332, 32.9169, 96.1314)
Luminance0.3292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF85FC #D2FC85
analogous
#8597FC #AF85FC #EA85FC
triadic
#AF85FC #FCAF85 #85FCAF
tetradic
#AF85FC #FC8597 #D2FC85 #85FCEA
square
#AF85FC #FC8597 #D2FC85 #85FCEA
split-complementary
#AF85FC #FCEA85 #97FC85
monochromatic
#610EF9 #8849FB #AF85FC #D6C1FD #EBE1FE

Accessibility & contrast

On white

2.77
#AF85FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#AF85FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF85FC
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF85FC#FFFFFF#000000##000000
##AF85FC1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#689AF9
Tritanopia (blue-blind)
#9F9BB5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #af85fc;
/* rgb */ color: rgb(175, 133, 252);
/* oklch */ color: oklch(70.7% 0.172 298.2);
Tailwind
colors: {
  custom: {
    50: '#caa9fe',
    500: '#af85fc',
    950: '#000000',
  },
}
SCSS
$custom: #af85fc;
$custom-light: #caa9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#af85fc",
  "rgb": {
    "r": 175,
    "g": 133,
    "b": 252
  },
  "hsl": {
    "h": 261.176,
    "s": 95.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.70699,
    "c": 0.17161,
    "h": 298.2
  },
  "luminance": 0.32917
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF85FC

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

Preview Lab → · Contrast checker → · Palette generator →

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