#AF93FF#AF93FF

#AF93FF is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.3% C 0.154 H 294.2°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#AF93FF
RGBrgb(175, 147, 255)
HSLhsl(256, 100%, 79%)
HSVhsv(256, 42%, 100%)
CMYKcmyk(31.4%, 42.4%, 0%, 0%)
CIE-LABlab(67.43, 33.41, -50.14)
CIE-LCHlch(67.43, 60.25, 303.68°)
OKLaboklab(73.26% 0.0632 -0.1407)
OKLCHoklch(73.26% 0.154 294.2)
XYZxyz(46.1584, 37.2006, 99.3369)
Luminance0.3720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF93FF #E3FF93
analogous
#93ADFF #AF93FF #E593FF
triadic
#AF93FF #FFAF93 #93FFAF
tetradic
#AF93FF #FF93AD #E3FF93 #93FFE5
square
#AF93FF #FF93AD #E3FF93 #93FFE5
split-complementary
#AF93FF #FFE593 #ADFF93
monochromatic
#5419FF #8256FF #AF93FF #DCD0FF #E8E0FF

Accessibility & contrast

On white

2.49
#AF93FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#AF93FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF93FF
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF93FF#FFFFFF#000000##000000
##AF93FF1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A5FF
Deuteranopia (green-blind)
#76A2FC
Tritanopia (blue-blind)
#9DA7BD
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #af93ff;
/* rgb */ color: rgb(175, 147, 255);
/* oklch */ color: oklch(73.3% 0.154 294.2);
Tailwind
colors: {
  custom: {
    50: '#c9b3ff',
    500: '#af93ff',
    950: '#000000',
  },
}
SCSS
$custom: #af93ff;
$custom-light: #c9b3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#af93ff",
  "rgb": {
    "r": 175,
    "g": 147,
    "b": 255
  },
  "hsl": {
    "h": 255.556,
    "s": 100,
    "l": 78.824
  },
  "oklch": {
    "l": 0.73256,
    "c": 0.15422,
    "h": 294.2
  },
  "luminance": 0.37201
}

Semantic roles & 50–950 ramp

primary
#AF93FF
secondary
#EEF7D4
accent
#E600AA
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AF93FF

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

Preview Lab → · Contrast checker → · Palette generator →

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