#AF95FA#AF95FA

#AF95FA is a light, vivid violet. Relative luminance 0.375; OKLCH L 73.4% C 0.145 H 294.4°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#AF95FA
RGBrgb(175, 149, 250)
HSLhsl(255, 91%, 78%)
HSVhsv(255, 40%, 98%)
CMYKcmyk(30%, 40.4%, 0%, 2%)
CIE-LABlab(67.66, 31.05, -47.04)
CIE-LCHlch(67.66, 56.37, 303.42°)
OKLaboklab(73.35% 0.0598 -0.1317)
OKLCHoklch(73.35% 0.145 294.4)
XYZxyz(45.6777, 37.5103, 95.2576)
Luminance0.3751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF95FA #E0FA95
analogous
#95ADFA #AF95FA #E295FA
triadic
#AF95FA #FAAF95 #95FAAF
tetradic
#AF95FA #FA95AD #E0FA95 #95FAE2
square
#AF95FA #FA95AD #E0FA95 #95FAE2
split-complementary
#AF95FA #FAE295 #ADFA95
monochromatic
#5720F4 #835BF7 #AF95FA #DBCFFD #E9E2FE

Accessibility & contrast

On white

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

On black

8.50
#AF95FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF95FA
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF95FA#FFFFFF#000000##000000
##AF95FA1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af95fa;
/* rgb */ color: rgb(175, 149, 250);
/* oklch */ color: oklch(73.4% 0.145 294.4);
Tailwind
colors: {
  custom: {
    50: '#c9b4fc',
    500: '#af95fa',
    950: '#000000',
  },
}
SCSS
$custom: #af95fa;
$custom-light: #c9b4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#af95fa",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 250
  },
  "hsl": {
    "h": 255.446,
    "s": 90.991,
    "l": 78.235
  },
  "oklch": {
    "l": 0.73353,
    "c": 0.14461,
    "h": 294.4
  },
  "luminance": 0.37511
}

Semantic roles & 50–950 ramp

primary
#AF95FA
secondary
#EDF6D5
accent
#E600AA
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AF95FA

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

Preview Lab → · Contrast checker → · Palette generator →

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