#AF85CD#AF85CD

#AF85CD is a light, moderate violet. Relative luminance 0.303; OKLCH L 68.3% C 0.113 H 310.4°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#AF85CD
RGBrgb(175, 133, 205)
HSLhsl(275, 42%, 66%)
HSVhsv(275, 35%, 80%)
CMYKcmyk(14.6%, 35.1%, 0%, 19.6%)
CIE-LABlab(61.91, 29.54, -31.12)
CIE-LCHlch(61.91, 42.91, 313.51°)
OKLaboklab(68.34% 0.0729 -0.0857)
OKLCHoklch(68.34% 0.113 310.4)
XYZxyz(37.0842, 30.2973, 61.6401)
Luminance0.3030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF85CD #A3CD85
analogous
#8B85CD #AF85CD #CD85C7
triadic
#AF85CD #CDAF85 #85CDAF
tetradic
#AF85CD #CD8B85 #A3CD85 #85C7CD
square
#AF85CD #CD8B85 #A3CD85 #85C7CD
split-complementary
#AF85CD #C7CD85 #85CD8B
monochromatic
#733F99 #935ABB #AF85CD #CBB0DF #E8DCF1

Accessibility & contrast

On white

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

On black

7.06
#AF85CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF85CD
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF85CD#FFFFFF#000000##000000
##AF85CD1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7894D0
Deuteranopia (green-blind)
#8196CB
Tritanopia (blue-blind)
#AC8FA0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af85cd;
/* rgb */ color: rgb(175, 133, 205);
/* oklch */ color: oklch(68.3% 0.113 310.4);
Tailwind
colors: {
  custom: {
    50: '#c8a9dc',
    500: '#af85cd',
    950: '#000000',
  },
}
SCSS
$custom: #af85cd;
$custom-light: #c8a9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#af85cd",
  "rgb": {
    "r": 175,
    "g": 133,
    "b": 205
  },
  "hsl": {
    "h": 275,
    "s": 41.86,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68339,
    "c": 0.1125,
    "h": 310.4
  },
  "luminance": 0.30297
}

Semantic roles & 50–950 ramp

primary
#AF85CD
secondary
#D5E3CB
accent
#B53168
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AF85CD

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

Preview Lab → · Contrast checker → · Palette generator →

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