#AF8FF8#AF8FF8

#AF8FF8 is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.2% C 0.151 H 296.5°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#AF8FF8
RGBrgb(175, 143, 248)
HSLhsl(258, 88%, 77%)
HSVhsv(258, 42%, 97%)
CMYKcmyk(29.4%, 42.3%, 0%, 2.7%)
CIE-LABlab(66.16, 33.92, -48.31)
CIE-LCHlch(66.16, 59.03, 305.08°)
OKLaboklab(72.19% 0.0674 -0.1353)
OKLCHoklch(72.19% 0.151 296.5)
XYZxyz(44.4408, 35.5357, 93.3064)
Luminance0.3554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8FF8 #D8F88F
analogous
#8FA4F8 #AF8FF8 #E48FF8
triadic
#AF8FF8 #F8AF8F #8FF8AF
tetradic
#AF8FF8 #F88FA4 #D8F88F #8FF8E4
square
#AF8FF8 #F88FA4 #D8F88F #8FF8E4
split-complementary
#AF8FF8 #F8E48F #A4F88F
monochromatic
#5D1CF1 #8655F4 #AF8FF8 #D8C9FC #EAE2FD

Accessibility & contrast

On white

2.59
#AF8FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#AF8FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF8FF8
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8FF8#FFFFFF#000000##000000
##AF8FF81.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A1FC
Deuteranopia (green-blind)
#76A0F5
Tritanopia (blue-blind)
#A0A2B8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #af8ff8;
/* rgb */ color: rgb(175, 143, 248);
/* oklch */ color: oklch(72.2% 0.151 296.5);
Tailwind
colors: {
  custom: {
    50: '#c9b0fb',
    500: '#af8ff8',
    950: '#000000',
  },
}
SCSS
$custom: #af8ff8;
$custom-light: #c9b0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#af8ff8",
  "rgb": {
    "r": 175,
    "g": 143,
    "b": 248
  },
  "hsl": {
    "h": 258.286,
    "s": 88.235,
    "l": 76.667
  },
  "oklch": {
    "l": 0.72191,
    "c": 0.15119,
    "h": 296.5
  },
  "luminance": 0.35536
}

Semantic roles & 50–950 ramp

primary
#AF8FF8
secondary
#ECF5D6
accent
#E5019F
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#131017
muted
#827F85

Preview Lab

Preview with #AF8FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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