#AF85CF#AF85CF

#AF85CF is a light, moderate violet. Relative luminance 0.304; OKLCH L 68.4% C 0.115 H 309.6°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#AF85CF
RGBrgb(175, 133, 207)
HSLhsl(274, 44%, 67%)
HSVhsv(274, 36%, 81%)
CMYKcmyk(15.5%, 35.7%, 0%, 18.8%)
CIE-LABlab(61.99, 29.98, -32.12)
CIE-LCHlch(61.99, 43.93, 313.03°)
OKLaboklab(68.43% 0.0733 -0.0886)
OKLCHoklch(68.43% 0.115 309.6)
XYZxyz(37.3272, 30.3945, 62.9197)
Luminance0.3039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF85CF #A5CF85
analogous
#8A85CF #AF85CF #CF85CA
triadic
#AF85CF #CFAF85 #85CFAF
tetradic
#AF85CF #CF8A85 #A5CF85 #85CACF
square
#AF85CF #CF8A85 #A5CF85 #85CACF
split-complementary
#AF85CF #CACF85 #85CF8A
monochromatic
#733D9C #9259BE #AF85CF #CCB1E0 #E9DDF2

Accessibility & contrast

On white

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

On black

7.08
#AF85CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF85CF
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF85CF#FFFFFF#000000##000000
##AF85CF1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7794D2
Deuteranopia (green-blind)
#8097CD
Tritanopia (blue-blind)
#AB90A0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af85cf;
/* rgb */ color: rgb(175, 133, 207);
/* oklch */ color: oklch(68.4% 0.115 309.6);
Tailwind
colors: {
  custom: {
    50: '#c8a9de',
    500: '#af85cf',
    950: '#000000',
  },
}
SCSS
$custom: #af85cf;
$custom-light: #c8a9de;
$custom-dark: #000000;
JSON
{
  "hex": "#af85cf",
  "rgb": {
    "r": 175,
    "g": 133,
    "b": 207
  },
  "hsl": {
    "h": 274.054,
    "s": 43.529,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6843,
    "c": 0.11499,
    "h": 309.6
  },
  "luminance": 0.30394
}

Semantic roles & 50–950 ramp

primary
#AF85CF
secondary
#D6E4CC
accent
#B72F6A
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AF85CF

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

Preview Lab → · Contrast checker → · Palette generator →

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