#AF8FFA#AF8FFA

#AF8FFA is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.3% C 0.154 H 296.1°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#AF8FFA
RGBrgb(175, 143, 250)
HSLhsl(258, 91%, 77%)
HSVhsv(258, 43%, 98%)
CMYKcmyk(30%, 42.8%, 0%, 2%)
CIE-LABlab(66.26, 34.42, -49.25)
CIE-LCHlch(66.26, 60.08, 304.95°)
OKLaboklab(72.3% 0.0677 -0.1381)
OKLCHoklch(72.3% 0.154 296.1)
XYZxyz(44.7528, 35.6604, 94.9493)
Luminance0.3566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8FFA #DAFA8F
analogous
#8FA5FA #AF8FFA #E58FFA
triadic
#AF8FFA #FAAF8F #8FFAAF
tetradic
#AF8FFA #FA8FA5 #DAFA8F #8FFAE5
square
#AF8FFA #FA8FA5 #DAFA8F #8FFAE5
split-complementary
#AF8FFA #FAE58F #A5FA8F
monochromatic
#5B1AF5 #8554F7 #AF8FFA #D9CAFD #EAE2FE

Accessibility & contrast

On white

2.58
#AF8FFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#AF8FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF8FFA
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8FFA#FFFFFF#000000##000000
##AF8FFA1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FE
Deuteranopia (green-blind)
#74A0F7
Tritanopia (blue-blind)
#9FA2B9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #af8ffa;
/* rgb */ color: rgb(175, 143, 250);
/* oklch */ color: oklch(72.3% 0.154 296.1);
Tailwind
colors: {
  custom: {
    50: '#c9b0fc',
    500: '#af8ffa',
    950: '#000000',
  },
}
SCSS
$custom: #af8ffa;
$custom-light: #c9b0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#af8ffa",
  "rgb": {
    "r": 175,
    "g": 143,
    "b": 250
  },
  "hsl": {
    "h": 257.944,
    "s": 91.453,
    "l": 77.059
  },
  "oklch": {
    "l": 0.72295,
    "c": 0.15379,
    "h": 296.1
  },
  "luminance": 0.35661
}

Semantic roles & 50–950 ramp

primary
#AF8FFA
secondary
#ECF6D5
accent
#E600A1
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#131017
muted
#827F85

Preview Lab

Preview with #AF8FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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