#AF85EE#AF85EE

#AF85EE is a light, vivid violet. Relative luminance 0.321; OKLCH L 69.9% C 0.154 H 301.0°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#AF85EE
RGBrgb(175, 133, 238)
HSLhsl(264, 76%, 73%)
HSVhsv(264, 44%, 93%)
CMYKcmyk(26.5%, 44.1%, 0%, 6.7%)
CIE-LABlab(63.39, 37.09, -47.18)
CIE-LCHlch(63.39, 60.01, 308.18°)
OKLaboklab(69.95% 0.0792 -0.132)
OKLCHoklch(69.95% 0.154 301)
XYZxyz(41.4959, 32.0619, 84.8748)
Luminance0.3206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF85EE #C4EE85
analogous
#858FEE #AF85EE #E485EE
triadic
#AF85EE #EEAF85 #85EEAF
tetradic
#AF85EE #EE858F #C4EE85 #85EEE4
square
#AF85EE #EE858F #C4EE85 #85EEE4
split-complementary
#AF85EE #EEE485 #8FEE85
monochromatic
#6A1EDA #8C4FE7 #AF85EE #D2BBF5 #EDE4FB

Accessibility & contrast

On white

2.83
#AF85EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#AF85EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF85EE
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF85EE#FFFFFF#000000##000000
##AF85EE1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F2
Deuteranopia (green-blind)
#7199EB
Tritanopia (blue-blind)
#A397AE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af85ee;
/* rgb */ color: rgb(175, 133, 238);
/* oklch */ color: oklch(69.9% 0.154 301.0);
Tailwind
colors: {
  custom: {
    50: '#c9a9f4',
    500: '#af85ee',
    950: '#000000',
  },
}
SCSS
$custom: #af85ee;
$custom-light: #c9a9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#af85ee",
  "rgb": {
    "r": 175,
    "g": 133,
    "b": 238
  },
  "hsl": {
    "h": 264,
    "s": 75.54,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69947,
    "c": 0.15399,
    "h": 301
  },
  "luminance": 0.32062
}

Semantic roles & 50–950 ramp

primary
#AF85EE
secondary
#E8F3D8
accent
#D80E87
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AF85EE

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

Preview Lab → · Contrast checker → · Palette generator →

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