#AF94EA#AF94EA

#AF94EA is a light, vivid violet. Relative luminance 0.362; OKLCH L 72.4% C 0.125 H 297.6°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#AF94EA
RGBrgb(175, 148, 234)
HSLhsl(259, 67%, 75%)
HSVhsv(259, 37%, 92%)
CMYKcmyk(25.2%, 36.8%, 0%, 8.2%)
CIE-LABlab(66.70, 27.73, -39.78)
CIE-LCHlch(66.70, 48.49, 304.87°)
OKLaboklab(72.39% 0.058 -0.1107)
OKLCHoklch(72.39% 0.125 297.6)
XYZxyz(43.1170, 36.2339, 82.5482)
Luminance0.3623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF94EA #CFEA94
analogous
#94A4EA #AF94EA #DA94EA
triadic
#AF94EA #EAAF94 #94EAAF
tetradic
#AF94EA #EA94A4 #CFEA94 #94EADA
square
#AF94EA #EA94A4 #CFEA94 #94EADA
split-complementary
#AF94EA #EADA94 #A4EA94
monochromatic
#622ED6 #8961E0 #AF94EA #D5C7F4 #ECE5FA

Accessibility & contrast

On white

2.55
#AF94EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#AF94EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF94EA
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF94EA#FFFFFF#000000##000000
##AF94EA1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA2ED
Deuteranopia (green-blind)
#82A1E8
Tritanopia (blue-blind)
#A3A2B4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #af94ea;
/* rgb */ color: rgb(175, 148, 234);
/* oklch */ color: oklch(72.4% 0.125 297.6);
Tailwind
colors: {
  custom: {
    50: '#c8b3f1',
    500: '#af94ea',
    950: '#000000',
  },
}
SCSS
$custom: #af94ea;
$custom-light: #c8b3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#af94ea",
  "rgb": {
    "r": 175,
    "g": 148,
    "b": 234
  },
  "hsl": {
    "h": 258.837,
    "s": 67.187,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72387,
    "c": 0.12493,
    "h": 297.6
  },
  "luminance": 0.36234
}

Semantic roles & 50–950 ramp

primary
#AF94EA
secondary
#EAF1DA
accent
#CF1695
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AF94EA

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

Preview Lab → · Contrast checker → · Palette generator →

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