#AF8FF9#AF8FF9

#AF8FF9 is a light, vivid violet. Relative luminance 0.356; OKLCH L 72.2% C 0.152 H 296.3°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#AF8FF9
RGBrgb(175, 143, 249)
HSLhsl(258, 90%, 77%)
HSVhsv(258, 43%, 98%)
CMYKcmyk(29.7%, 42.6%, 0%, 2.4%)
CIE-LABlab(66.21, 34.17, -48.78)
CIE-LCHlch(66.21, 59.56, 305.01°)
OKLaboklab(72.24% 0.0675 -0.1367)
OKLCHoklch(72.24% 0.152 296.3)
XYZxyz(44.5964, 35.5979, 94.1257)
Luminance0.3560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8FF9 #D9F98F
analogous
#8FA4F9 #AF8FF9 #E48FF9
triadic
#AF8FF9 #F9AF8F #8FF9AF
tetradic
#AF8FF9 #F98FA4 #D9F98F #8FF9E4
square
#AF8FF9 #F98FA4 #D9F98F #8FF9E4
split-complementary
#AF8FF9 #F9E48F #A4F98F
monochromatic
#5C1BF3 #8655F6 #AF8FF9 #D8C9FC #EAE2FD

Accessibility & contrast

On white

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

On black

8.12
#AF8FF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF8FF9
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8FF9#FFFFFF#000000##000000
##AF8FF91.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FD
Deuteranopia (green-blind)
#75A0F6
Tritanopia (blue-blind)
#9FA2B8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #af8ff9;
/* rgb */ color: rgb(175, 143, 249);
/* oklch */ color: oklch(72.2% 0.152 296.3);
Tailwind
colors: {
  custom: {
    50: '#c9b0fc',
    500: '#af8ff9',
    950: '#000000',
  },
}
SCSS
$custom: #af8ff9;
$custom-light: #c9b0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#af8ff9",
  "rgb": {
    "r": 175,
    "g": 143,
    "b": 249
  },
  "hsl": {
    "h": 258.113,
    "s": 89.831,
    "l": 76.863
  },
  "oklch": {
    "l": 0.72243,
    "c": 0.15249,
    "h": 296.3
  },
  "luminance": 0.35598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF8FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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