#AF85CC#AF85CC

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

Color values

HEX#AF85CC
RGBrgb(175, 133, 204)
HSLhsl(275, 41%, 66%)
HSVhsv(275, 35%, 80%)
CMYKcmyk(14.2%, 34.8%, 0%, 20%)
CIE-LABlab(61.87, 29.32, -30.62)
CIE-LCHlch(61.87, 42.40, 313.76°)
OKLaboklab(68.29% 0.0726 -0.0843)
OKLCHoklch(68.29% 0.111 310.7)
XYZxyz(36.9639, 30.2491, 61.0064)
Luminance0.3025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF85CC #A2CC85
analogous
#8B85CC #AF85CC #CC85C5
triadic
#AF85CC #CCAF85 #85CCAF
tetradic
#AF85CC #CC8B85 #A2CC85 #85C5CC
square
#AF85CC #CC8B85 #A2CC85 #85C5CC
split-complementary
#AF85CC #C5CC85 #85CC8B
monochromatic
#733F97 #935ABA #AF85CC #CBB0DE #E8DBF0

Accessibility & contrast

On white

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

On black

7.05
#AF85CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF85CC
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF85CC#FFFFFF#000000##000000
##AF85CC1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7893CF
Deuteranopia (green-blind)
#8296CA
Tritanopia (blue-blind)
#AC8F9F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #af85cc;
/* rgb */ color: rgb(175, 133, 204);
/* oklch */ color: oklch(68.3% 0.111 310.7);
Tailwind
colors: {
  custom: {
    50: '#c8a9db',
    500: '#af85cc',
    950: '#000000',
  },
}
SCSS
$custom: #af85cc;
$custom-light: #c8a9db;
$custom-dark: #000000;
JSON
{
  "hex": "#af85cc",
  "rgb": {
    "r": 175,
    "g": 133,
    "b": 204
  },
  "hsl": {
    "h": 275.493,
    "s": 41.04,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68294,
    "c": 0.11127,
    "h": 310.7
  },
  "luminance": 0.30249
}

Semantic roles & 50–950 ramp

primary
#AF85CC
secondary
#D4E2CB
accent
#B43167
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AF85CC

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

Preview Lab → · Contrast checker → · Palette generator →

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