#AF95FE#AF95FE

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

Color values

HEX#AF95FE
RGBrgb(175, 149, 254)
HSLhsl(255, 98%, 79%)
HSVhsv(255, 41%, 100%)
CMYKcmyk(31.1%, 41.3%, 0%, 0.4%)
CIE-LABlab(67.85, 32.04, -48.93)
CIE-LCHlch(67.85, 58.49, 303.22°)
OKLaboklab(73.56% 0.0604 -0.1372)
OKLCHoklch(73.56% 0.15 293.8)
XYZxyz(46.3115, 37.7638, 98.5959)
Luminance0.3776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF95FE #E4FE95
analogous
#95B0FE #AF95FE #E495FE
triadic
#AF95FE #FEAF95 #95FEAF
tetradic
#AF95FE #FE95B0 #E4FE95 #95FEE4
square
#AF95FE #FE95B0 #E4FE95 #95FEE4
split-complementary
#AF95FE #FEE495 #B0FE95
monochromatic
#531CFD #8158FD #AF95FE #DDD2FF #E8E1FF

Accessibility & contrast

On white

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

On black

8.55
#AF95FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF95FE
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF95FE#FFFFFF#000000##000000
##AF95FE1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A6FF
Deuteranopia (green-blind)
#79A4FB
Tritanopia (blue-blind)
#9DA8BD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #af95fe;
/* rgb */ color: rgb(175, 149, 254);
/* oklch */ color: oklch(73.6% 0.150 293.8);
Tailwind
colors: {
  custom: {
    50: '#c9b4ff',
    500: '#af95fe',
    950: '#000000',
  },
}
SCSS
$custom: #af95fe;
$custom-light: #c9b4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#af95fe",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 254
  },
  "hsl": {
    "h": 254.857,
    "s": 98.131,
    "l": 79.02
  },
  "oklch": {
    "l": 0.73557,
    "c": 0.14989,
    "h": 293.8
  },
  "luminance": 0.37765
}

Semantic roles & 50–950 ramp

primary
#AF95FE
secondary
#EEF7D4
accent
#E600AD
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AF95FE

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

Preview Lab → · Contrast checker → · Palette generator →

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