#AF8FF3#AF8FF3

#AF8FF3 is a light, vivid violet. Relative luminance 0.352; OKLCH L 71.9% C 0.145 H 297.4°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#AF8FF3
RGBrgb(175, 143, 243)
HSLhsl(259, 81%, 76%)
HSVhsv(259, 41%, 95%)
CMYKcmyk(28%, 41.2%, 0%, 4.7%)
CIE-LABlab(65.93, 32.70, -45.94)
CIE-LCHlch(65.93, 56.39, 305.45°)
OKLaboklab(71.94% 0.0665 -0.1285)
OKLCHoklch(71.94% 0.145 297.4)
XYZxyz(43.6755, 35.2295, 89.2756)
Luminance0.3523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8FF3 #D3F38F
analogous
#8FA1F3 #AF8FF3 #E18FF3
triadic
#AF8FF3 #F3AF8F #8FF3AF
tetradic
#AF8FF3 #F38FA1 #D3F38F #8FF3E1
square
#AF8FF3 #F38FA1 #D3F38F #8FF3E1
split-complementary
#AF8FF3 #F3E18F #A1F38F
monochromatic
#6020E7 #8858ED #AF8FF3 #D6C6F9 #EBE3FC

Accessibility & contrast

On white

2.61
#AF8FF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#AF8FF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF8FF3
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8FF3#FFFFFF#000000##000000
##AF8FF31.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A1F7
Deuteranopia (green-blind)
#799FF0
Tritanopia (blue-blind)
#A1A1B5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #af8ff3;
/* rgb */ color: rgb(175, 143, 243);
/* oklch */ color: oklch(71.9% 0.145 297.4);
Tailwind
colors: {
  custom: {
    50: '#c9b0f7',
    500: '#af8ff3',
    950: '#000000',
  },
}
SCSS
$custom: #af8ff3;
$custom-light: #c9b0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#af8ff3",
  "rgb": {
    "r": 175,
    "g": 143,
    "b": 243
  },
  "hsl": {
    "h": 259.2,
    "s": 80.645,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71935,
    "c": 0.14468,
    "h": 297.4
  },
  "luminance": 0.3523
}

Semantic roles & 50–950 ramp

primary
#AF8FF3
secondary
#EBF4D7
accent
#DD0999
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AF8FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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