#AF85EB#AF85EB

#AF85EB is a light, vivid violet. Relative luminance 0.319; OKLCH L 69.8% C 0.150 H 301.6°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#AF85EB
RGBrgb(175, 133, 235)
HSLhsl(265, 72%, 72%)
HSVhsv(265, 43%, 92%)
CMYKcmyk(25.5%, 43.4%, 0%, 7.8%)
CIE-LABlab(63.25, 36.38, -45.75)
CIE-LCHlch(63.25, 58.45, 308.49°)
OKLaboklab(69.79% 0.0788 -0.1279)
OKLCHoklch(69.79% 0.15 301.6)
XYZxyz(41.0588, 31.8871, 82.5729)
Luminance0.3189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF85EB #C1EB85
analogous
#858EEB #AF85EB #E285EB
triadic
#AF85EB #EBAF85 #85EBAF
tetradic
#AF85EB #EB858E #C1EB85 #85EBE2
square
#AF85EB #EB858E #C1EB85 #85EBE2
split-complementary
#AF85EB #EBE285 #8EEB85
monochromatic
#6B23D3 #8D50E2 #AF85EB #D1BAF4 #EEE5FB

Accessibility & contrast

On white

2.85
#AF85EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#AF85EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF85EB
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF85EB#FFFFFF#000000##000000
##AF85EB1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6998EF
Deuteranopia (green-blind)
#7399E8
Tritanopia (blue-blind)
#A497AD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af85eb;
/* rgb */ color: rgb(175, 133, 235);
/* oklch */ color: oklch(69.8% 0.150 301.6);
Tailwind
colors: {
  custom: {
    50: '#c9a9f2',
    500: '#af85eb',
    950: '#000000',
  },
}
SCSS
$custom: #af85eb;
$custom-light: #c9a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#af85eb",
  "rgb": {
    "r": 175,
    "g": 133,
    "b": 235
  },
  "hsl": {
    "h": 264.706,
    "s": 71.831,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69791,
    "c": 0.1502,
    "h": 301.6
  },
  "luminance": 0.31887
}

Semantic roles & 50–950 ramp

primary
#AF85EB
secondary
#E8F2D9
accent
#D41284
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AF85EB

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

Preview Lab → · Contrast checker → · Palette generator →

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