#AF95E4#AF95E4

#AF95E4 is a light, moderate violet. Relative luminance 0.362; OKLCH L 72.3% C 0.115 H 298.6°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#AF95E4
RGBrgb(175, 149, 228)
HSLhsl(260, 59%, 74%)
HSVhsv(260, 35%, 89%)
CMYKcmyk(23.2%, 34.6%, 0%, 10.6%)
CIE-LABlab(66.68, 25.75, -36.51)
CIE-LCHlch(66.68, 44.67, 305.19°)
OKLaboklab(72.29% 0.0552 -0.1012)
OKLCHoklch(72.29% 0.115 298.6)
XYZxyz(42.4271, 36.2100, 78.1378)
Luminance0.3621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF95E4 #CAE495
analogous
#95A3E4 #AF95E4 #D795E4
triadic
#AF95E4 #E4AF95 #95E4AF
tetradic
#AF95E4 #E495A3 #CAE495 #95E4D7
square
#AF95E4 #E495A3 #CAE495 #95E4D7
split-complementary
#AF95E4 #E4D795 #A3E495
monochromatic
#6534CB #8A64D8 #AF95E4 #D4C6F0 #EDE7F9

Accessibility & contrast

On white

2.55
#AF95E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#AF95E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF95E4
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF95E4#FFFFFF#000000##000000
##AF95E41.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A2E7
Deuteranopia (green-blind)
#86A2E2
Tritanopia (blue-blind)
#A5A2B2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #af95e4;
/* rgb */ color: rgb(175, 149, 228);
/* oklch */ color: oklch(72.3% 0.115 298.6);
Tailwind
colors: {
  custom: {
    50: '#c8b4ed',
    500: '#af95e4',
    950: '#000000',
  },
}
SCSS
$custom: #af95e4;
$custom-light: #c8b4ed;
$custom-dark: #000000;
JSON
{
  "hex": "#af95e4",
  "rgb": {
    "r": 175,
    "g": 149,
    "b": 228
  },
  "hsl": {
    "h": 259.747,
    "s": 59.398,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72288,
    "c": 0.11533,
    "h": 298.6
  },
  "luminance": 0.3621
}

Semantic roles & 50–950 ramp

primary
#AF95E4
secondary
#E9F0DB
accent
#C71E90
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AF95E4

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

Preview Lab → · Contrast checker → · Palette generator →

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