#AF85CA#AF85CA

#AF85CA is a light, moderate violet. Relative luminance 0.302; OKLCH L 68.2% C 0.109 H 311.5°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#AF85CA
RGBrgb(175, 133, 202)
HSLhsl(277, 39%, 66%)
HSVhsv(277, 34%, 79%)
CMYKcmyk(13.4%, 34.2%, 0%, 20.8%)
CIE-LABlab(61.79, 28.89, -29.63)
CIE-LCHlch(61.79, 41.38, 314.28°)
OKLaboklab(68.21% 0.0721 -0.0815)
OKLCHoklch(68.21% 0.109 311.5)
XYZxyz(36.7256, 30.1538, 59.7512)
Luminance0.3015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF85CA #A0CA85
analogous
#8C85CA #AF85CA #CA85C2
triadic
#AF85CA #CAAF85 #85CAAF
tetradic
#AF85CA #CA8C85 #A0CA85 #85C2CA
square
#AF85CA #CA8C85 #A0CA85 #85C2CA
split-complementary
#AF85CA #C2CA85 #85CA8C
monochromatic
#734094 #935AB7 #AF85CA #CBB0DD #E7DAEF

Accessibility & contrast

On white

2.99
#AF85CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#AF85CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF85CA
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF85CA#FFFFFF#000000##000000
##AF85CA1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7993CD
Deuteranopia (green-blind)
#8296C8
Tritanopia (blue-blind)
#AC8E9E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #af85ca;
/* rgb */ color: rgb(175, 133, 202);
/* oklch */ color: oklch(68.2% 0.109 311.5);
Tailwind
colors: {
  custom: {
    50: '#c8a9da',
    500: '#af85ca',
    950: '#000000',
  },
}
SCSS
$custom: #af85ca;
$custom-light: #c8a9da;
$custom-dark: #000000;
JSON
{
  "hex": "#af85ca",
  "rgb": {
    "r": 175,
    "g": 133,
    "b": 202
  },
  "hsl": {
    "h": 276.522,
    "s": 39.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.68205,
    "c": 0.1088,
    "h": 311.5
  },
  "luminance": 0.30153
}

Semantic roles & 50–950 ramp

primary
#AF85CA
secondary
#D3E1CA
accent
#B23365
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131015
muted
#827F83

Preview Lab

Preview with #AF85CA

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

Preview Lab → · Contrast checker → · Palette generator →

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