#AF95EE#AF95EE

#AF95EE is a light, vivid violet. Relative luminance 0.368; OKLCH L 72.8% C 0.129 H 296.5°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#AF95EE
RGBrgb(175, 149, 238)
HSLhsl(258, 72%, 76%)
HSVhsv(258, 37%, 93%)
CMYKcmyk(26.5%, 37.4%, 0%, 6.7%)
CIE-LABlab(67.11, 28.12, -41.33)
CIE-LCHlch(67.11, 49.99, 304.23°)
OKLaboklab(72.76% 0.0574 -0.1151)
OKLCHoklch(72.76% 0.129 296.5)
XYZxyz(43.8556, 36.7814, 85.6614)
Luminance0.3678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF95EE #D4EE95
analogous
#95A7EE #AF95EE #DB95EE
triadic
#AF95EE #EEAF95 #95EEAF
tetradic
#AF95EE #EE95A7 #D4EE95 #95EEDB
square
#AF95EE #EE95A7 #D4EE95 #95EEDB
split-complementary
#AF95EE #EEDB95 #A7EE95
monochromatic
#5F2CDD #8760E6 #AF95EE #D7CAF6 #EBE5FB

Accessibility & contrast

On white

2.51
#AF95EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#AF95EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF95EE
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF95EE#FFFFFF#000000##000000
##AF95EE1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA4F1
Deuteranopia (green-blind)
#81A2EC
Tritanopia (blue-blind)
#A2A4B6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #af95ee;
/* rgb */ color: rgb(175, 149, 238);
/* oklch */ color: oklch(72.8% 0.129 296.5);
Tailwind
colors: {
  custom: {
    50: '#c8b4f4',
    500: '#af95ee',
    950: '#000000',
  },
}
SCSS
$custom: #af95ee;
$custom-light: #c8b4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#af95ee",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 238
  },
  "hsl": {
    "h": 257.528,
    "s": 72.358,
    "l": 75.882
  },
  "oklch": {
    "l": 0.7276,
    "c": 0.12867,
    "h": 296.5
  },
  "luminance": 0.36782
}

Semantic roles & 50–950 ramp

primary
#AF95EE
secondary
#EBF2D9
accent
#D4119B
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AF95EE

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

Preview Lab → · Contrast checker → · Palette generator →

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