#AF8FE3#AF8FE3

#AF8FE3 is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.2% C 0.124 H 300.8°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#AF8FE3
RGBrgb(175, 143, 227)
HSLhsl(263, 60%, 73%)
HSVhsv(263, 37%, 89%)
CMYKcmyk(22.9%, 37%, 0%, 11%)
CIE-LABlab(65.20, 28.89, -38.26)
CIE-LCHlch(65.20, 47.94, 307.06°)
OKLaboklab(71.15% 0.0634 -0.1062)
OKLCHoklch(71.15% 0.124 300.8)
XYZxyz(41.3637, 34.3048, 77.1005)
Luminance0.3431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8FE3 #C3E38F
analogous
#8F99E3 #AF8FE3 #D98FE3
triadic
#AF8FE3 #E3AF8F #8FE3AF
tetradic
#AF8FE3 #E38F99 #C3E38F #8FE3D9
square
#AF8FE3 #E38F99 #C3E38F #8FE3D9
split-complementary
#AF8FE3 #E3D98F #99E38F
monochromatic
#6A32C6 #8C5ED7 #AF8FE3 #D2C0EF #EEE7F9

Accessibility & contrast

On white

2.67
#AF8FE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#AF8FE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF8FE3
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8FE3#FFFFFF#000000##000000
##AF8FE31.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9EE6
Deuteranopia (green-blind)
#819EE1
Tritanopia (blue-blind)
#A69DAE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #af8fe3;
/* rgb */ color: rgb(175, 143, 227);
/* oklch */ color: oklch(71.2% 0.124 300.8);
Tailwind
colors: {
  custom: {
    50: '#c8b0ec',
    500: '#af8fe3',
    950: '#000000',
  },
}
SCSS
$custom: #af8fe3;
$custom-light: #c8b0ec;
$custom-dark: #000000;
JSON
{
  "hex": "#af8fe3",
  "rgb": {
    "r": 175,
    "g": 143,
    "b": 227
  },
  "hsl": {
    "h": 262.857,
    "s": 60,
    "l": 72.549
  },
  "oklch": {
    "l": 0.7115,
    "c": 0.12375,
    "h": 300.8
  },
  "luminance": 0.34305
}

Semantic roles & 50–950 ramp

primary
#AF8FE3
secondary
#E8F0DB
accent
#C81E87
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AF8FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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