#AF85EF#AF85EF

#AF85EF is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.0% C 0.155 H 300.7°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#AF85EF
RGBrgb(175, 133, 239)
HSLhsl(264, 77%, 73%)
HSVhsv(264, 44%, 94%)
CMYKcmyk(26.8%, 44.4%, 0%, 6.3%)
CIE-LABlab(63.44, 37.33, -47.65)
CIE-LCHlch(63.44, 60.53, 308.07°)
OKLaboklab(70% 0.0794 -0.1334)
OKLCHoklch(70% 0.155 300.7)
XYZxyz(41.6432, 32.1209, 85.6507)
Luminance0.3212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF85EF #C5EF85
analogous
#8590EF #AF85EF #E485EF
triadic
#AF85EF #EFAF85 #85EFAF
tetradic
#AF85EF #EF8590 #C5EF85 #85EFE4
square
#AF85EF #EF8590 #C5EF85 #85EFE4
split-complementary
#AF85EF #EFE485 #90EF85
monochromatic
#691DDD #8C4FE8 #AF85EF #D2BBF6 #EDE4FB

Accessibility & contrast

On white

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

On black

7.42
#AF85EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF85EF
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF85EF#FFFFFF#000000##000000
##AF85EF1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F3
Deuteranopia (green-blind)
#7099EC
Tritanopia (blue-blind)
#A398AF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af85ef;
/* rgb */ color: rgb(175, 133, 239);
/* oklch */ color: oklch(70.0% 0.155 300.7);
Tailwind
colors: {
  custom: {
    50: '#c9a9f5',
    500: '#af85ef',
    950: '#000000',
  },
}
SCSS
$custom: #af85ef;
$custom-light: #c9a9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#af85ef",
  "rgb": {
    "r": 175,
    "g": 133,
    "b": 239
  },
  "hsl": {
    "h": 263.774,
    "s": 76.812,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69999,
    "c": 0.15525,
    "h": 300.7
  },
  "luminance": 0.32121
}

Semantic roles & 50–950 ramp

primary
#AF85EF
secondary
#E8F3D8
accent
#D90C88
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AF85EF

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

Preview Lab → · Contrast checker → · Palette generator →

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