#AF94FC#AF94FC

#AF94FC is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.3% C 0.149 H 294.4°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#AF94FC
RGBrgb(175, 148, 252)
HSLhsl(256, 95%, 78%)
HSVhsv(256, 41%, 99%)
CMYKcmyk(30.6%, 41.3%, 0%, 1.2%)
CIE-LABlab(67.52, 32.11, -48.36)
CIE-LCHlch(67.52, 58.05, 303.58°)
OKLaboklab(73.28% 0.0614 -0.1355)
OKLCHoklch(73.28% 0.149 294.4)
XYZxyz(45.8354, 37.3213, 96.8655)
Luminance0.3732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF94FC #E1FC94
analogous
#94ADFC #AF94FC #E394FC
triadic
#AF94FC #FCAF94 #94FCAF
tetradic
#AF94FC #FC94AD #E1FC94 #94FCE3
square
#AF94FC #FC94AD #E1FC94 #94FCE3
split-complementary
#AF94FC #FCE394 #ADFC94
monochromatic
#561DF9 #8258FA #AF94FC #DCD0FE #E9E1FE

Accessibility & contrast

On white

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

On black

8.46
#AF94FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF94FC
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF94FC#FFFFFF#000000##000000
##AF94FC1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af94fc;
/* rgb */ color: rgb(175, 148, 252);
/* oklch */ color: oklch(73.3% 0.149 294.4);
Tailwind
colors: {
  custom: {
    50: '#c9b3fe',
    500: '#af94fc',
    950: '#000000',
  },
}
SCSS
$custom: #af94fc;
$custom-light: #c9b3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#af94fc",
  "rgb": {
    "r": 175,
    "g": 148,
    "b": 252
  },
  "hsl": {
    "h": 255.577,
    "s": 94.545,
    "l": 78.431
  },
  "oklch": {
    "l": 0.73277,
    "c": 0.14877,
    "h": 294.4
  },
  "luminance": 0.37322
}

Semantic roles & 50–950 ramp

primary
#AF94FC
secondary
#EEF6D5
accent
#E600AA
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AF94FC

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

Preview Lab → · Contrast checker → · Palette generator →

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