#AF91DA#AF91DA

#AF91DA is a light, moderate violet. Relative luminance 0.344; OKLCH L 71.1% C 0.109 H 302.6°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#AF91DA
RGBrgb(175, 145, 218)
HSLhsl(265, 50%, 71%)
HSVhsv(265, 33%, 85%)
CMYKcmyk(19.7%, 33.5%, 0%, 14.5%)
CIE-LABlab(65.30, 25.68, -33.12)
CIE-LCHlch(65.30, 41.91, 307.79°)
OKLaboklab(71.1% 0.0585 -0.0915)
OKLCHoklch(71.1% 0.109 302.6)
XYZxyz(40.4568, 34.4267, 70.8297)
Luminance0.3443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF91DA #BCDA91
analogous
#9197DA #AF91DA #D391DA
triadic
#AF91DA #DAAF91 #91DAAF
tetradic
#AF91DA #DA9197 #BCDA91 #91DAD3
square
#AF91DA #DA9197 #BCDA91 #91DAD3
split-complementary
#AF91DA #DAD391 #97DA91
monochromatic
#6E3DB4 #8E63CB #AF91DA #D0BFE9 #EEE8F7

Accessibility & contrast

On white

2.66
#AF91DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#AF91DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF91DA
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF91DA#FFFFFF#000000##000000
##AF91DA1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#819EDD
Deuteranopia (green-blind)
#879ED8
Tritanopia (blue-blind)
#A89CAC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #af91da;
/* rgb */ color: rgb(175, 145, 218);
/* oklch */ color: oklch(71.1% 0.109 302.6);
Tailwind
colors: {
  custom: {
    50: '#c8b1e5',
    500: '#af91da',
    950: '#000000',
  },
}
SCSS
$custom: #af91da;
$custom-light: #c8b1e5;
$custom-dark: #000000;
JSON
{
  "hex": "#af91da",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 218
  },
  "hsl": {
    "h": 264.658,
    "s": 49.66,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71097,
    "c": 0.10863,
    "h": 302.6
  },
  "luminance": 0.34427
}

Semantic roles & 50–950 ramp

primary
#AF91DA
secondary
#E5EDDA
accent
#BD2980
background
#FCFAFE
surface
#F8F5FC
border
#D1CFD5
text
#131016
muted
#827F84

Preview Lab

Preview with #AF91DA

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

Preview Lab → · Contrast checker → · Palette generator →

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