#AF95FC#AF95FC

#AF95FC is a light, vivid violet. Relative luminance 0.376; OKLCH L 73.5% C 0.147 H 294.1°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#AF95FC
RGBrgb(175, 149, 252)
HSLhsl(255, 94%, 79%)
HSVhsv(255, 41%, 99%)
CMYKcmyk(30.6%, 40.9%, 0%, 1.2%)
CIE-LABlab(67.75, 31.54, -47.99)
CIE-LCHlch(67.75, 57.43, 303.32°)
OKLaboklab(73.46% 0.0601 -0.1344)
OKLCHoklch(73.46% 0.147 294.1)
XYZxyz(45.9929, 37.6364, 96.9180)
Luminance0.3764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF95FC #E2FC95
analogous
#95AEFC #AF95FC #E295FC
triadic
#AF95FC #FCAF95 #95FCAF
tetradic
#AF95FC #FC95AE #E2FC95 #95FCE2
square
#AF95FC #FC95AE #E2FC95 #95FCE2
split-complementary
#AF95FC #FCE295 #AEFC95
monochromatic
#551EF9 #8259FA #AF95FC #DCD1FE #E9E1FE

Accessibility & contrast

On white

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

On black

8.53
#AF95FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF95FC
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF95FC#FFFFFF#000000##000000
##AF95FC1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A6FF
Deuteranopia (green-blind)
#7AA3F9
Tritanopia (blue-blind)
#9EA8BC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #af95fc;
/* rgb */ color: rgb(175, 149, 252);
/* oklch */ color: oklch(73.5% 0.147 294.1);
Tailwind
colors: {
  custom: {
    50: '#c9b4fe',
    500: '#af95fc',
    950: '#000000',
  },
}
SCSS
$custom: #af95fc;
$custom-light: #c9b4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#af95fc",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 252
  },
  "hsl": {
    "h": 255.146,
    "s": 94.495,
    "l": 78.627
  },
  "oklch": {
    "l": 0.73455,
    "c": 0.14725,
    "h": 294.1
  },
  "luminance": 0.37637
}

Semantic roles & 50–950 ramp

primary
#AF95FC
secondary
#EEF6D5
accent
#E600AC
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AF95FC

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

Preview Lab → · Contrast checker → · Palette generator →

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