#AF91CA#AF91CA

#AF91CA is a light, moderate violet. Relative luminance 0.336; OKLCH L 70.4% C 0.088 H 308.2°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#AF91CA
RGBrgb(175, 145, 202)
HSLhsl(272, 35%, 68%)
HSVhsv(272, 28%, 79%)
CMYKcmyk(13.4%, 28.2%, 0%, 20.8%)
CIE-LABlab(64.67, 22.13, -25.19)
CIE-LCHlch(64.67, 33.53, 311.30°)
OKLaboklab(70.41% 0.0543 -0.0689)
OKLCHoklch(70.41% 0.088 308.2)
XYZxyz(38.4633, 33.6293, 60.3305)
Luminance0.3363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF91CA #ACCA91
analogous
#9291CA #AF91CA #CA91C8
triadic
#AF91CA #CAAF91 #91CAAF
tetradic
#AF91CA #CA9291 #ACCA91 #91C8CA
square
#AF91CA #CA9291 #ACCA91 #91C8CA
split-complementary
#AF91CA #C8CA91 #91CA92
monochromatic
#724998 #9168B6 #AF91CA #CDBADE #EBE4F2

Accessibility & contrast

On white

2.72
#AF91CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#AF91CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF91CA
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF91CA#FFFFFF#000000##000000
##AF91CA1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#879CCC
Deuteranopia (green-blind)
#8D9DC8
Tritanopia (blue-blind)
#AC99A5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #af91ca;
/* rgb */ color: rgb(175, 145, 202);
/* oklch */ color: oklch(70.4% 0.088 308.2);
Tailwind
colors: {
  custom: {
    50: '#c7b1da',
    500: '#af91ca',
    950: '#000000',
  },
}
SCSS
$custom: #af91ca;
$custom-light: #c7b1da;
$custom-dark: #000000;
JSON
{
  "hex": "#af91ca",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 202
  },
  "hsl": {
    "h": 271.579,
    "s": 34.969,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70405,
    "c": 0.08775,
    "h": 308.2
  },
  "luminance": 0.33629
}

Semantic roles & 50–950 ramp

primary
#AF91CA
secondary
#DBE4D3
accent
#AE3870
background
#FCFAFD
surface
#F8F5FA
border
#D1CFD3
text
#131014
muted
#827F83

Preview Lab

Preview with #AF91CA

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

Preview Lab → · Contrast checker → · Palette generator →

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