#AF94EE#AF94EE

#AF94EE is a light, vivid violet. Relative luminance 0.365; OKLCH L 72.6% C 0.130 H 296.8°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#AF94EE
RGBrgb(175, 148, 238)
HSLhsl(258, 73%, 76%)
HSVhsv(258, 38%, 93%)
CMYKcmyk(26.5%, 37.8%, 0%, 6.7%)
CIE-LABlab(66.87, 28.68, -41.71)
CIE-LCHlch(66.87, 50.62, 304.52°)
OKLaboklab(72.58% 0.0588 -0.1162)
OKLCHoklch(72.58% 0.13 296.8)
XYZxyz(43.6981, 36.4664, 85.6089)
Luminance0.3647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF94EE #D3EE94
analogous
#94A6EE #AF94EE #DC94EE
triadic
#AF94EE #EEAF94 #94EEAF
tetradic
#AF94EE #EE94A6 #D3EE94 #94EEDC
square
#AF94EE #EE94A6 #D3EE94 #94EEDC
split-complementary
#AF94EE #EEDC94 #A6EE94
monochromatic
#602ADD #885FE6 #AF94EE #D6C9F6 #EBE5FB

Accessibility & contrast

On white

2.53
#AF94EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#AF94EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF94EE
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF94EE#FFFFFF#000000##000000
##AF94EE1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA3F1
Deuteranopia (green-blind)
#80A2EC
Tritanopia (blue-blind)
#A2A3B6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #af94ee;
/* rgb */ color: rgb(175, 148, 238);
/* oklch */ color: oklch(72.6% 0.130 296.8);
Tailwind
colors: {
  custom: {
    50: '#c8b3f4',
    500: '#af94ee',
    950: '#000000',
  },
}
SCSS
$custom: #af94ee;
$custom-light: #c8b3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#af94ee",
  "rgb": {
    "r": 175,
    "g": 148,
    "b": 238
  },
  "hsl": {
    "h": 258,
    "s": 72.581,
    "l": 75.686
  },
  "oklch": {
    "l": 0.72579,
    "c": 0.13025,
    "h": 296.8
  },
  "luminance": 0.36467
}

Semantic roles & 50–950 ramp

primary
#AF94EE
secondary
#EBF2D9
accent
#D5119A
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AF94EE

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

Preview Lab → · Contrast checker → · Palette generator →

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