#AF95EB#AF95EB

#AF95EB is a light, vivid violet. Relative luminance 0.366; OKLCH L 72.6% C 0.125 H 297.1°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#AF95EB
RGBrgb(175, 149, 235)
HSLhsl(258, 68%, 75%)
HSVhsv(258, 37%, 92%)
CMYKcmyk(25.5%, 36.6%, 0%, 7.8%)
CIE-LABlab(66.98, 27.40, -39.89)
CIE-LCHlch(66.98, 48.40, 304.49°)
OKLaboklab(72.62% 0.0568 -0.111)
OKLCHoklch(72.62% 0.125 297.1)
XYZxyz(43.4185, 36.6066, 83.3595)
Luminance0.3661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF95EB #D1EB95
analogous
#95A6EB #AF95EB #DA95EB
triadic
#AF95EB #EBAF95 #95EBAF
tetradic
#AF95EB #EB95A6 #D1EB95 #95EBDA
square
#AF95EB #EB95A6 #D1EB95 #95EBDA
split-complementary
#AF95EB #EBDA95 #A6EB95
monochromatic
#612ED8 #8862E1 #AF95EB #D6C8F5 #ECE5FA

Accessibility & contrast

On white

2.52
#AF95EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#AF95EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF95EB
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF95EB#FFFFFF#000000##000000
##AF95EB1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA3EE
Deuteranopia (green-blind)
#83A2E9
Tritanopia (blue-blind)
#A3A4B5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #af95eb;
/* rgb */ color: rgb(175, 149, 235);
/* oklch */ color: oklch(72.6% 0.125 297.1);
Tailwind
colors: {
  custom: {
    50: '#c8b4f1',
    500: '#af95eb',
    950: '#000000',
  },
}
SCSS
$custom: #af95eb;
$custom-light: #c8b4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#af95eb",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 235
  },
  "hsl": {
    "h": 258.14,
    "s": 68.254,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72616,
    "c": 0.12467,
    "h": 297.1
  },
  "luminance": 0.36607
}

Semantic roles & 50–950 ramp

primary
#AF95EB
secondary
#EAF2D9
accent
#D01598
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AF95EB

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

Preview Lab → · Contrast checker → · Palette generator →

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