#AF94FB#AF94FB

#AF94FB is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.2% C 0.147 H 294.5°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#AF94FB
RGBrgb(175, 148, 251)
HSLhsl(256, 93%, 78%)
HSVhsv(256, 41%, 98%)
CMYKcmyk(30.3%, 41%, 0%, 1.6%)
CIE-LABlab(67.47, 31.86, -47.89)
CIE-LCHlch(67.47, 57.52, 303.64°)
OKLaboklab(73.23% 0.0613 -0.1341)
OKLCHoklch(73.23% 0.147 294.5)
XYZxyz(45.6774, 37.2581, 96.0331)
Luminance0.3726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF94FB #E0FB94
analogous
#94ACFB #AF94FB #E294FB
triadic
#AF94FB #FBAF94 #94FBAF
tetradic
#AF94FB #FB94AC #E0FB94 #94FBE2
square
#AF94FB #FB94AC #E0FB94 #94FBE2
split-complementary
#AF94FB #FBE294 #ACFB94
monochromatic
#571EF7 #8359F9 #AF94FB #DBCFFD #E9E2FE

Accessibility & contrast

On white

2.48
#AF94FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#AF94FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF94FB
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF94FB#FFFFFF#000000##000000
##AF94FB1.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A5FF
Deuteranopia (green-blind)
#79A3F8
Tritanopia (blue-blind)
#9EA7BC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #af94fb;
/* rgb */ color: rgb(175, 148, 251);
/* oklch */ color: oklch(73.2% 0.147 294.5);
Tailwind
colors: {
  custom: {
    50: '#c9b3fd',
    500: '#af94fb',
    950: '#000000',
  },
}
SCSS
$custom: #af94fb;
$custom-light: #c9b3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#af94fb",
  "rgb": {
    "r": 175,
    "g": 148,
    "b": 251
  },
  "hsl": {
    "h": 255.728,
    "s": 92.793,
    "l": 78.235
  },
  "oklch": {
    "l": 0.73226,
    "c": 0.14745,
    "h": 294.5
  },
  "luminance": 0.37259
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF94FB

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

Preview Lab → · Contrast checker → · Palette generator →

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