#AF95EA#AF95EA

#AF95EA is a light, vivid violet. Relative luminance 0.365; OKLCH L 72.6% C 0.123 H 297.3°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#AF95EA
RGBrgb(175, 149, 234)
HSLhsl(258, 67%, 75%)
HSVhsv(258, 36%, 92%)
CMYKcmyk(25.2%, 36.3%, 0%, 8.2%)
CIE-LABlab(66.94, 27.16, -39.41)
CIE-LCHlch(66.94, 47.86, 304.58°)
OKLaboklab(72.57% 0.0566 -0.1096)
OKLCHoklch(72.57% 0.123 297.3)
XYZxyz(43.2745, 36.5490, 82.6007)
Luminance0.3655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF95EA #D0EA95
analogous
#95A5EA #AF95EA #D995EA
triadic
#AF95EA #EAAF95 #95EAAF
tetradic
#AF95EA #EA95A5 #D0EA95 #95EAD9
square
#AF95EA #EA95A5 #D0EA95 #95EAD9
split-complementary
#AF95EA #EAD995 #A5EA95
monochromatic
#622FD6 #8862E0 #AF95EA #D6C8F4 #ECE5FA

Accessibility & contrast

On white

2.53
#AF95EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#AF95EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF95EA
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF95EA#FFFFFF#000000##000000
##AF95EA1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA3ED
Deuteranopia (green-blind)
#83A2E8
Tritanopia (blue-blind)
#A3A3B5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #af95ea;
/* rgb */ color: rgb(175, 149, 234);
/* oklch */ color: oklch(72.6% 0.123 297.3);
Tailwind
colors: {
  custom: {
    50: '#c8b4f1',
    500: '#af95ea',
    950: '#000000',
  },
}
SCSS
$custom: #af95ea;
$custom-light: #c8b4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#af95ea",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 234
  },
  "hsl": {
    "h": 258.353,
    "s": 66.929,
    "l": 75.098
  },
  "oklch": {
    "l": 0.72569,
    "c": 0.12334,
    "h": 297.3
  },
  "luminance": 0.36549
}

Semantic roles & 50–950 ramp

primary
#AF95EA
secondary
#EAF1DA
accent
#CF1796
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AF95EA

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

Preview Lab → · Contrast checker → · Palette generator →

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