#AF85CB#AF85CB

#AF85CB is a light, moderate violet. Relative luminance 0.302; OKLCH L 68.3% C 0.110 H 311.1°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#AF85CB
RGBrgb(175, 133, 203)
HSLhsl(276, 40%, 66%)
HSVhsv(276, 34%, 80%)
CMYKcmyk(13.8%, 34.5%, 0%, 20.4%)
CIE-LABlab(61.83, 29.11, -30.13)
CIE-LCHlch(61.83, 41.89, 314.01°)
OKLaboklab(68.25% 0.0724 -0.0829)
OKLCHoklch(68.25% 0.11 311.1)
XYZxyz(36.8443, 30.2013, 60.3768)
Luminance0.3020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF85CB #A1CB85
analogous
#8C85CB #AF85CB #CB85C4
triadic
#AF85CB #CBAF85 #85CBAF
tetradic
#AF85CB #CB8C85 #A1CB85 #85C4CB
square
#AF85CB #CB8C85 #A1CB85 #85C4CB
split-complementary
#AF85CB #C4CB85 #85CB8C
monochromatic
#734096 #935AB9 #AF85CB #CBB0DD #E7DBF0

Accessibility & contrast

On white

2.98
#AF85CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#AF85CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF85CB
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF85CB#FFFFFF#000000##000000
##AF85CB1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7993CE
Deuteranopia (green-blind)
#8296C9
Tritanopia (blue-blind)
#AC8F9F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #af85cb;
/* rgb */ color: rgb(175, 133, 203);
/* oklch */ color: oklch(68.3% 0.110 311.1);
Tailwind
colors: {
  custom: {
    50: '#c8a9db',
    500: '#af85cb',
    950: '#000000',
  },
}
SCSS
$custom: #af85cb;
$custom-light: #c8a9db;
$custom-dark: #000000;
JSON
{
  "hex": "#af85cb",
  "rgb": {
    "r": 175,
    "g": 133,
    "b": 203
  },
  "hsl": {
    "h": 276,
    "s": 40.23,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6825,
    "c": 0.11003,
    "h": 311.1
  },
  "luminance": 0.30201
}

Semantic roles & 50–950 ramp

primary
#AF85CB
secondary
#D4E1CA
accent
#B33266
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AF85CB

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

Preview Lab → · Contrast checker → · Palette generator →

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