#AF95FB#AF95FB

#AF95FB is a light, vivid violet. Relative luminance 0.376; OKLCH L 73.4% C 0.146 H 294.2°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#AF95FB
RGBrgb(175, 149, 251)
HSLhsl(255, 93%, 78%)
HSVhsv(255, 41%, 98%)
CMYKcmyk(30.3%, 40.6%, 0%, 1.6%)
CIE-LABlab(67.70, 31.30, -47.52)
CIE-LCHlch(67.70, 56.90, 303.37°)
OKLaboklab(73.4% 0.0599 -0.1331)
OKLCHoklch(73.4% 0.146 294.2)
XYZxyz(45.8349, 37.5732, 96.0856)
Luminance0.3757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF95FB #E1FB95
analogous
#95AEFB #AF95FB #E295FB
triadic
#AF95FB #FBAF95 #95FBAF
tetradic
#AF95FB #FB95AE #E1FB95 #95FBE2
square
#AF95FB #FB95AE #E1FB95 #95FBE2
split-complementary
#AF95FB #FBE295 #AEFB95
monochromatic
#561FF7 #825AF9 #AF95FB #DCD0FD #E9E2FE

Accessibility & contrast

On white

2.47
#AF95FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#AF95FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF95FB
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF95FB#FFFFFF#000000##000000
##AF95FB1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A6FF
Deuteranopia (green-blind)
#7AA3F8
Tritanopia (blue-blind)
#9EA7BC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #af95fb;
/* rgb */ color: rgb(175, 149, 251);
/* oklch */ color: oklch(73.4% 0.146 294.2);
Tailwind
colors: {
  custom: {
    50: '#c9b4fd',
    500: '#af95fb',
    950: '#000000',
  },
}
SCSS
$custom: #af95fb;
$custom-light: #c9b4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#af95fb",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 251
  },
  "hsl": {
    "h": 255.294,
    "s": 92.727,
    "l": 78.431
  },
  "oklch": {
    "l": 0.73404,
    "c": 0.14593,
    "h": 294.2
  },
  "luminance": 0.37574
}

Semantic roles & 50–950 ramp

primary
#AF95FB
secondary
#EEF6D5
accent
#E600AB
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AF95FB

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

Preview Lab → · Contrast checker → · Palette generator →

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