#AF85EA#AF85EA

#AF85EA is a light, vivid violet. Relative luminance 0.318; OKLCH L 69.7% C 0.149 H 301.9°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#AF85EA
RGBrgb(175, 133, 234)
HSLhsl(265, 71%, 72%)
HSVhsv(265, 43%, 92%)
CMYKcmyk(25.2%, 43.2%, 0%, 8.2%)
CIE-LABlab(63.20, 36.14, -45.27)
CIE-LCHlch(63.20, 57.93, 308.60°)
OKLaboklab(69.74% 0.0786 -0.1265)
OKLCHoklch(69.74% 0.149 301.9)
XYZxyz(40.9147, 31.8295, 81.8141)
Luminance0.3183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF85EA #C0EA85
analogous
#858EEA #AF85EA #E185EA
triadic
#AF85EA #EAAF85 #85EAAF
tetradic
#AF85EA #EA858E #C0EA85 #85EAE1
square
#AF85EA #EA858E #C0EA85 #85EAE1
split-complementary
#AF85EA #EAE185 #8EEA85
monochromatic
#6C24D1 #8D51E1 #AF85EA #D1B9F3 #EEE5FB

Accessibility & contrast

On white

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

On black

7.37
#AF85EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF85EA
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF85EA#FFFFFF#000000##000000
##AF85EA1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A98EE
Deuteranopia (green-blind)
#7399E7
Tritanopia (blue-blind)
#A496AC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af85ea;
/* rgb */ color: rgb(175, 133, 234);
/* oklch */ color: oklch(69.7% 0.149 301.9);
Tailwind
colors: {
  custom: {
    50: '#c9a9f1',
    500: '#af85ea',
    950: '#000000',
  },
}
SCSS
$custom: #af85ea;
$custom-light: #c9a9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#af85ea",
  "rgb": {
    "r": 175,
    "g": 133,
    "b": 234
  },
  "hsl": {
    "h": 264.95,
    "s": 70.629,
    "l": 71.961
  },
  "oklch": {
    "l": 0.6974,
    "c": 0.14894,
    "h": 301.9
  },
  "luminance": 0.3183
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF85EA

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

Preview Lab → · Contrast checker → · Palette generator →

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