#AF94EF#AF94EF

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

Color values

HEX#AF94EF
RGBrgb(175, 148, 239)
HSLhsl(258, 74%, 76%)
HSVhsv(258, 38%, 94%)
CMYKcmyk(26.8%, 38.1%, 0%, 6.3%)
CIE-LABlab(66.92, 28.93, -42.19)
CIE-LCHlch(66.92, 51.15, 304.44°)
OKLaboklab(72.63% 0.059 -0.1176)
OKLCHoklch(72.63% 0.132 296.6)
XYZxyz(43.8454, 36.5253, 86.3847)
Luminance0.3653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF94EF #D4EF94
analogous
#94A6EF #AF94EF #DC94EF
triadic
#AF94EF #EFAF94 #94EFAF
tetradic
#AF94EF #EF94A6 #D4EF94 #94EFDC
square
#AF94EF #EF94A6 #D4EF94 #94EFDC
split-complementary
#AF94EF #EFDC94 #A6EF94
monochromatic
#5F2ADF #875FE7 #AF94EF #D7C9F7 #EBE4FB

Accessibility & contrast

On white

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

On black

8.31
#AF94EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF94EF
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF94EF#FFFFFF#000000##000000
##AF94EF1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA3F3
Deuteranopia (green-blind)
#80A2ED
Tritanopia (blue-blind)
#A2A4B6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #af94ef;
/* rgb */ color: rgb(175, 148, 239);
/* oklch */ color: oklch(72.6% 0.132 296.6);
Tailwind
colors: {
  custom: {
    50: '#c8b3f4',
    500: '#af94ef',
    950: '#000000',
  },
}
SCSS
$custom: #af94ef;
$custom-light: #c8b3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#af94ef",
  "rgb": {
    "r": 175,
    "g": 148,
    "b": 239
  },
  "hsl": {
    "h": 257.802,
    "s": 73.984,
    "l": 75.882
  },
  "oklch": {
    "l": 0.72628,
    "c": 0.13157,
    "h": 296.6
  },
  "luminance": 0.36526
}

Semantic roles & 50–950 ramp

primary
#AF94EF
secondary
#EBF3D8
accent
#D60F9B
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AF94EF

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

Preview Lab → · Contrast checker → · Palette generator →

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