#AF93F2#AF93F2

#AF93F2 is a light, vivid violet. Relative luminance 0.364; OKLCH L 72.6% C 0.137 H 296.4°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#AF93F2
RGBrgb(175, 147, 242)
HSLhsl(258, 79%, 76%)
HSVhsv(258, 39%, 95%)
CMYKcmyk(27.7%, 39.3%, 0%, 5.1%)
CIE-LABlab(66.82, 30.21, -43.99)
CIE-LCHlch(66.82, 53.37, 304.48°)
OKLaboklab(72.6% 0.061 -0.1228)
OKLCHoklch(72.6% 0.137 296.4)
XYZxyz(44.1361, 36.3917, 88.6862)
Luminance0.3639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF93F2 #D6F293
analogous
#93A7F2 #AF93F2 #DF93F2
triadic
#AF93F2 #F2AF93 #93F2AF
tetradic
#AF93F2 #F293A7 #D6F293 #93F2DF
square
#AF93F2 #F293A7 #D6F293 #93F2DF
split-complementary
#AF93F2 #F2DF93 #A7F293
monochromatic
#5E26E5 #875CEB #AF93F2 #D7CAF9 #EBE4FC

Accessibility & contrast

On white

2.54
#AF93F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#AF93F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF93F2
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF93F2#FFFFFF#000000##000000
##AF93F21.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A3F6
Deuteranopia (green-blind)
#7DA1F0
Tritanopia (blue-blind)
#A1A4B7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #af93f2;
/* rgb */ color: rgb(175, 147, 242);
/* oklch */ color: oklch(72.6% 0.137 296.4);
Tailwind
colors: {
  custom: {
    50: '#c9b3f6',
    500: '#af93f2',
    950: '#000000',
  },
}
SCSS
$custom: #af93f2;
$custom-light: #c9b3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#af93f2",
  "rgb": {
    "r": 175,
    "g": 147,
    "b": 242
  },
  "hsl": {
    "h": 257.684,
    "s": 78.512,
    "l": 76.275
  },
  "oklch": {
    "l": 0.72595,
    "c": 0.13712,
    "h": 296.4
  },
  "luminance": 0.36392
}

Semantic roles & 50–950 ramp

primary
#AF93F2
secondary
#EBF4D7
accent
#DB0B9D
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131117
muted
#828085

Preview Lab

Preview with #AF93F2

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

Preview Lab → · Contrast checker → · Palette generator →

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