#AF93FA#AF93FA

#AF93FA is a light, vivid violet. Relative luminance 0.369; OKLCH L 73.0% C 0.148 H 295.0°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#AF93FA
RGBrgb(175, 147, 250)
HSLhsl(256, 91%, 78%)
HSVhsv(256, 41%, 98%)
CMYKcmyk(30%, 41.2%, 0%, 2%)
CIE-LABlab(67.19, 32.17, -47.78)
CIE-LCHlch(67.19, 57.60, 303.95°)
OKLaboklab(73% 0.0624 -0.1338)
OKLCHoklch(73% 0.148 295)
XYZxyz(45.3640, 36.8829, 95.1530)
Luminance0.3688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF93FA #DEFA93
analogous
#93AAFA #AF93FA #E393FA
triadic
#AF93FA #FAAF93 #93FAAF
tetradic
#AF93FA #FA93AA #DEFA93 #93FAE3
square
#AF93FA #FA93AA #DEFA93 #93FAE3
split-complementary
#AF93FA #FAE393 #AAFA93
monochromatic
#581EF5 #8459F7 #AF93FA #DACDFD #E9E2FE

Accessibility & contrast

On white

2.51
#AF93FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#AF93FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF93FA
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF93FA#FFFFFF#000000##000000
##AF93FA1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A4FE
Deuteranopia (green-blind)
#79A2F7
Tritanopia (blue-blind)
#9FA6BB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #af93fa;
/* rgb */ color: rgb(175, 147, 250);
/* oklch */ color: oklch(73.0% 0.148 295.0);
Tailwind
colors: {
  custom: {
    50: '#c9b3fc',
    500: '#af93fa',
    950: '#000000',
  },
}
SCSS
$custom: #af93fa;
$custom-light: #c9b3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#af93fa",
  "rgb": {
    "r": 175,
    "g": 147,
    "b": 250
  },
  "hsl": {
    "h": 256.311,
    "s": 91.15,
    "l": 77.843
  },
  "oklch": {
    "l": 0.72998,
    "c": 0.14766,
    "h": 295
  },
  "luminance": 0.36884
}

Semantic roles & 50–950 ramp

primary
#AF93FA
secondary
#EDF6D5
accent
#E600A7
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AF93FA

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

Preview Lab → · Contrast checker → · Palette generator →

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