#AF85CE#AF85CE

#AF85CE is a light, moderate violet. Relative luminance 0.303; OKLCH L 68.4% C 0.114 H 310.0°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#AF85CE
RGBrgb(175, 133, 206)
HSLhsl(275, 43%, 66%)
HSVhsv(275, 35%, 81%)
CMYKcmyk(15%, 35.4%, 0%, 19.2%)
CIE-LABlab(61.95, 29.76, -31.62)
CIE-LCHlch(61.95, 43.42, 313.26°)
OKLaboklab(68.38% 0.0731 -0.0871)
OKLCHoklch(68.38% 0.114 310)
XYZxyz(37.2053, 30.3457, 62.2779)
Luminance0.3034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF85CE #A4CE85
analogous
#8B85CE #AF85CE #CE85C9
triadic
#AF85CE #CEAF85 #85CEAF
tetradic
#AF85CE #CE8B85 #A4CE85 #85C9CE
square
#AF85CE #CE8B85 #A4CE85 #85C9CE
split-complementary
#AF85CE #C9CE85 #85CE8B
monochromatic
#733E9B #9259BC #AF85CE #CCB1E0 #E8DCF1

Accessibility & contrast

On white

2.97
#AF85CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#AF85CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF85CE
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF85CE#FFFFFF#000000##000000
##AF85CE1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7794D1
Deuteranopia (green-blind)
#8196CC
Tritanopia (blue-blind)
#AC8FA0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af85ce;
/* rgb */ color: rgb(175, 133, 206);
/* oklch */ color: oklch(68.4% 0.114 310.0);
Tailwind
colors: {
  custom: {
    50: '#c8a9dd',
    500: '#af85ce',
    950: '#000000',
  },
}
SCSS
$custom: #af85ce;
$custom-light: #c8a9dd;
$custom-dark: #000000;
JSON
{
  "hex": "#af85ce",
  "rgb": {
    "r": 175,
    "g": 133,
    "b": 206
  },
  "hsl": {
    "h": 274.521,
    "s": 42.69,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68384,
    "c": 0.11374,
    "h": 310
  },
  "luminance": 0.30345
}

Semantic roles & 50–950 ramp

primary
#AF85CE
secondary
#D6E3CC
accent
#B63069
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AF85CE

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

Preview Lab → · Contrast checker → · Palette generator →

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