#AF93CB#AF93CB

#AF93CB is a light, moderate violet. Relative luminance 0.343; OKLCH L 70.8% C 0.086 H 307.1°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#AF93CB
RGBrgb(175, 147, 203)
HSLhsl(270, 35%, 69%)
HSVhsv(270, 28%, 80%)
CMYKcmyk(13.8%, 27.6%, 0%, 20.4%)
CIE-LABlab(65.19, 21.22, -24.94)
CIE-LCHlch(65.19, 32.74, 310.40°)
OKLaboklab(70.82% 0.0516 -0.0682)
OKLCHoklch(70.82% 0.086 307.1)
XYZxyz(38.8904, 34.2934, 61.0588)
Luminance0.3429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF93CB #AFCB93
analogous
#9393CB #AF93CB #CB93CB
triadic
#AF93CB #CBAF93 #93CBAF
tetradic
#AF93CB #CB9393 #AFCB93 #93CBCB
square
#AF93CB #CB9393 #AFCB93 #93CBCB
split-complementary
#AF93CB #CBCB93 #93CB93
monochromatic
#724A9A #906AB7 #AF93CB #CEBCDF #ECE6F3

Accessibility & contrast

On white

2.67
#AF93CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#AF93CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF93CB
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF93CB#FFFFFF#000000##000000
##AF93CB1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#899DCD
Deuteranopia (green-blind)
#8E9FC9
Tritanopia (blue-blind)
#AB9BA7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #af93cb;
/* rgb */ color: rgb(175, 147, 203);
/* oklch */ color: oklch(70.8% 0.086 307.1);
Tailwind
colors: {
  custom: {
    50: '#c7b3db',
    500: '#af93cb',
    950: '#000000',
  },
}
SCSS
$custom: #af93cb;
$custom-light: #c7b3db;
$custom-dark: #000000;
JSON
{
  "hex": "#af93cb",
  "rgb": {
    "r": 175,
    "g": 147,
    "b": 203
  },
  "hsl": {
    "h": 270,
    "s": 35,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70822,
    "c": 0.08556,
    "h": 307.1
  },
  "luminance": 0.34293
}

Semantic roles & 50–950 ramp

primary
#AF93CB
secondary
#DDE5D5
accent
#AE3873
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #AF93CB

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

Preview Lab → · Contrast checker → · Palette generator →

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