#AF95FD#AF95FD

#AF95FD is a light, vivid violet. Relative luminance 0.377; OKLCH L 73.5% C 0.149 H 293.9°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#AF95FD
RGBrgb(175, 149, 253)
HSLhsl(255, 96%, 79%)
HSVhsv(255, 41%, 99%)
CMYKcmyk(30.8%, 41.1%, 0%, 0.8%)
CIE-LABlab(67.80, 31.79, -48.46)
CIE-LCHlch(67.80, 57.96, 303.27°)
OKLaboklab(73.51% 0.0603 -0.1358)
OKLCHoklch(73.51% 0.149 293.9)
XYZxyz(46.1518, 37.6999, 97.7547)
Luminance0.3770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF95FD #E3FD95
analogous
#95AFFD #AF95FD #E395FD
triadic
#AF95FD #FDAF95 #95FDAF
tetradic
#AF95FD #FD95AF #E3FD95 #95FDE3
square
#AF95FD #FD95AF #E3FD95 #95FDE3
split-complementary
#AF95FD #FDE395 #AFFD95
monochromatic
#541DFB #8259FC #AF95FD #DCD1FE #E8E1FE

Accessibility & contrast

On white

2.46
#AF95FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#AF95FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF95FD
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF95FD#FFFFFF#000000##000000
##AF95FD1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A6FF
Deuteranopia (green-blind)
#79A4FA
Tritanopia (blue-blind)
#9EA8BD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #af95fd;
/* rgb */ color: rgb(175, 149, 253);
/* oklch */ color: oklch(73.5% 0.149 293.9);
Tailwind
colors: {
  custom: {
    50: '#c9b4fe',
    500: '#af95fd',
    950: '#000000',
  },
}
SCSS
$custom: #af95fd;
$custom-light: #c9b4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#af95fd",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 253
  },
  "hsl": {
    "h": 255,
    "s": 96.296,
    "l": 78.824
  },
  "oklch": {
    "l": 0.73506,
    "c": 0.14857,
    "h": 293.9
  },
  "luminance": 0.37701
}

Semantic roles & 50–950 ramp

primary
#AF95FD
secondary
#EEF7D4
accent
#E600AC
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AF95FD

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

Preview Lab → · Contrast checker → · Palette generator →

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