#AF94EB#AF94EB

#AF94EB is a light, vivid violet. Relative luminance 0.363; OKLCH L 72.4% C 0.126 H 297.4°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#AF94EB
RGBrgb(175, 148, 235)
HSLhsl(259, 69%, 75%)
HSVhsv(259, 37%, 92%)
CMYKcmyk(25.5%, 37%, 0%, 7.8%)
CIE-LABlab(66.74, 27.96, -40.27)
CIE-LCHlch(66.74, 49.02, 304.78°)
OKLaboklab(72.44% 0.0582 -0.112)
OKLCHoklch(72.44% 0.126 297.4)
XYZxyz(43.2610, 36.2916, 83.3070)
Luminance0.3629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF94EB #D0EB94
analogous
#94A4EB #AF94EB #DB94EB
triadic
#AF94EB #EBAF94 #94EBAF
tetradic
#AF94EB #EB94A4 #D0EB94 #94EBDB
square
#AF94EB #EB94A4 #D0EB94 #94EBDB
split-complementary
#AF94EB #EBDB94 #A4EB94
monochromatic
#622DD8 #8860E1 #AF94EB #D6C8F5 #ECE5FA

Accessibility & contrast

On white

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

On black

8.26
#AF94EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF94EB
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF94EB#FFFFFF#000000##000000
##AF94EB1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA3EE
Deuteranopia (green-blind)
#82A1E9
Tritanopia (blue-blind)
#A3A3B5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #af94eb;
/* rgb */ color: rgb(175, 148, 235);
/* oklch */ color: oklch(72.4% 0.126 297.4);
Tailwind
colors: {
  custom: {
    50: '#c8b3f2',
    500: '#af94eb',
    950: '#000000',
  },
}
SCSS
$custom: #af94eb;
$custom-light: #c8b3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#af94eb",
  "rgb": {
    "r": 175,
    "g": 148,
    "b": 235
  },
  "hsl": {
    "h": 258.621,
    "s": 68.504,
    "l": 75.098
  },
  "oklch": {
    "l": 0.72435,
    "c": 0.12625,
    "h": 297.4
  },
  "luminance": 0.36292
}

Semantic roles & 50–950 ramp

primary
#AF94EB
secondary
#EAF2D9
accent
#D01596
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AF94EB

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

Preview Lab → · Contrast checker → · Palette generator →

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