#AF95FF#AF95FF

#AF95FF is a light, vivid violet. Relative luminance 0.378; OKLCH L 73.6% C 0.151 H 293.6°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#AF95FF
RGBrgb(175, 149, 255)
HSLhsl(255, 100%, 79%)
HSVhsv(255, 42%, 100%)
CMYKcmyk(31.4%, 41.6%, 0%, 0%)
CIE-LABlab(67.89, 32.29, -49.40)
CIE-LCHlch(67.89, 59.02, 303.17°)
OKLaboklab(73.61% 0.0606 -0.1385)
OKLCHoklch(73.61% 0.151 293.6)
XYZxyz(46.4721, 37.8280, 99.4415)
Luminance0.3783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF95FF #E5FF95
analogous
#95B0FF #AF95FF #E495FF
triadic
#AF95FF #FFAF95 #95FFAF
tetradic
#AF95FF #FF95B0 #E5FF95 #95FFE4
square
#AF95FF #FF95B0 #E5FF95 #95FFE4
split-complementary
#AF95FF #FFE495 #B0FF95
monochromatic
#531BFF #8158FF #AF95FF #DDD2FF #E8E0FF

Accessibility & contrast

On white

2.45
#AF95FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#AF95FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF95FF
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF95FF#FFFFFF#000000##000000
##AF95FF1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A7FF
Deuteranopia (green-blind)
#78A4FC
Tritanopia (blue-blind)
#9DA8BE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #af95ff;
/* rgb */ color: rgb(175, 149, 255);
/* oklch */ color: oklch(73.6% 0.151 293.6);
Tailwind
colors: {
  custom: {
    50: '#c9b4ff',
    500: '#af95ff',
    950: '#000000',
  },
}
SCSS
$custom: #af95ff;
$custom-light: #c9b4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#af95ff",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 255
  },
  "hsl": {
    "h": 254.717,
    "s": 100,
    "l": 79.216
  },
  "oklch": {
    "l": 0.73608,
    "c": 0.15121,
    "h": 293.6
  },
  "luminance": 0.37829
}

Semantic roles & 50–950 ramp

primary
#AF95FF
secondary
#EFF7D4
accent
#E600AD
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AF95FF

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

Preview Lab → · Contrast checker → · Palette generator →

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