#AF94F8#AF94F8

#AF94F8 is a light, vivid violet. Relative luminance 0.371; OKLCH L 73.1% C 0.143 H 295.0°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#AF94F8
RGBrgb(175, 148, 248)
HSLhsl(256, 88%, 78%)
HSVhsv(256, 40%, 97%)
CMYKcmyk(29.4%, 40.3%, 0%, 2.7%)
CIE-LABlab(67.33, 31.12, -46.47)
CIE-LCHlch(67.33, 55.93, 303.81°)
OKLaboklab(73.07% 0.0607 -0.13)
OKLCHoklch(73.07% 0.143 295)
XYZxyz(45.2082, 37.0704, 93.5622)
Luminance0.3707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF94F8 #DDF894
analogous
#94ABF8 #AF94F8 #E194F8
triadic
#AF94F8 #F8AF94 #94F8AF
tetradic
#AF94F8 #F894AB #DDF894 #94F8E1
square
#AF94F8 #F894AB #DDF894 #94F8E1
split-complementary
#AF94F8 #F8E194 #ABF894
monochromatic
#5921F0 #845BF4 #AF94F8 #DACDFC #EAE2FD

Accessibility & contrast

On white

2.50
#AF94F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#AF94F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF94F8
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF94F8#FFFFFF#000000##000000
##AF94F81.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A5FC
Deuteranopia (green-blind)
#7BA2F5
Tritanopia (blue-blind)
#9FA6BA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #af94f8;
/* rgb */ color: rgb(175, 148, 248);
/* oklch */ color: oklch(73.1% 0.143 295.0);
Tailwind
colors: {
  custom: {
    50: '#c9b3fb',
    500: '#af94f8',
    950: '#000000',
  },
}
SCSS
$custom: #af94f8;
$custom-light: #c9b3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#af94f8",
  "rgb": {
    "r": 175,
    "g": 148,
    "b": 248
  },
  "hsl": {
    "h": 256.2,
    "s": 87.719,
    "l": 77.647
  },
  "oklch": {
    "l": 0.73074,
    "c": 0.14349,
    "h": 295
  },
  "luminance": 0.37071
}

Semantic roles & 50–950 ramp

primary
#AF94F8
secondary
#EDF5D6
accent
#E401A7
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AF94F8

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

Preview Lab → · Contrast checker → · Palette generator →

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