#AF94FA#AF94FA

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

Color values

HEX#AF94FA
RGBrgb(175, 148, 250)
HSLhsl(256, 91%, 78%)
HSVhsv(256, 41%, 98%)
CMYKcmyk(30%, 40.8%, 0%, 2%)
CIE-LABlab(67.42, 31.61, -47.41)
CIE-LCHlch(67.42, 56.99, 303.69°)
OKLaboklab(73.18% 0.0611 -0.1328)
OKLCHoklch(73.18% 0.146 294.7)
XYZxyz(45.5202, 37.1952, 95.2051)
Luminance0.3720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF94FA #DFFA94
analogous
#94ACFA #AF94FA #E294FA
triadic
#AF94FA #FAAF94 #94FAAF
tetradic
#AF94FA #FA94AC #DFFA94 #94FAE2
square
#AF94FA #FA94AC #DFFA94 #94FAE2
split-complementary
#AF94FA #FAE294 #ACFA94
monochromatic
#581FF5 #835AF7 #AF94FA #DBCEFD #E9E2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF94FA#FFFFFF#000000##000000
##AF94FA1.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)
#76A5FE
Deuteranopia (green-blind)
#7AA3F7
Tritanopia (blue-blind)
#9FA6BB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #af94fa;
/* rgb */ color: rgb(175, 148, 250);
/* oklch */ color: oklch(73.2% 0.146 294.7);
Tailwind
colors: {
  custom: {
    50: '#c9b3fc',
    500: '#af94fa',
    950: '#000000',
  },
}
SCSS
$custom: #af94fa;
$custom-light: #c9b3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#af94fa",
  "rgb": {
    "r": 175,
    "g": 148,
    "b": 250
  },
  "hsl": {
    "h": 255.882,
    "s": 91.071,
    "l": 78.039
  },
  "oklch": {
    "l": 0.73175,
    "c": 0.14613,
    "h": 294.7
  },
  "luminance": 0.37196
}

Semantic roles & 50–950 ramp

primary
#AF94FA
secondary
#EDF6D5
accent
#E600A9
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AF94FA

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

Preview Lab → · Contrast checker → · Palette generator →

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