#AF8BFA#AF8BFA

#AF8BFA is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.6% C 0.160 H 297.1°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#AF8BFA
RGBrgb(175, 139, 250)
HSLhsl(259, 92%, 76%)
HSVhsv(259, 44%, 98%)
CMYKcmyk(30%, 44.4%, 0%, 2%)
CIE-LABlab(65.34, 36.65, -50.70)
CIE-LCHlch(65.34, 62.56, 305.86°)
OKLaboklab(71.6% 0.073 -0.1423)
OKLCHoklch(71.6% 0.16 297.1)
XYZxyz(44.1630, 34.4808, 94.7527)
Luminance0.3448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8BFA #D6FA8B
analogous
#8B9FFA #AF8BFA #E68BFA
triadic
#AF8BFA #FAAF8B #8BFAAF
tetradic
#AF8BFA #FA8B9F #D6FA8B #8BFAE6
square
#AF8BFA #FA8B9F #D6FA8B #8BFAE6
split-complementary
#AF8BFA #FAE68B #9FFA8B
monochromatic
#5E16F5 #8750F7 #AF8BFA #D7C6FD #EBE2FE

Accessibility & contrast

On white

2.66
#AF8BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#AF8BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF8BFA
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8BFA#FFFFFF#000000##000000
##AF8BFA1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#699FFE
Deuteranopia (green-blind)
#709DF7
Tritanopia (blue-blind)
#9F9FB7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #af8bfa;
/* rgb */ color: rgb(175, 139, 250);
/* oklch */ color: oklch(71.6% 0.160 297.1);
Tailwind
colors: {
  custom: {
    50: '#c9adfc',
    500: '#af8bfa',
    950: '#000000',
  },
}
SCSS
$custom: #af8bfa;
$custom-light: #c9adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#af8bfa",
  "rgb": {
    "r": 175,
    "g": 139,
    "b": 250
  },
  "hsl": {
    "h": 259.459,
    "s": 91.736,
    "l": 76.275
  },
  "oklch": {
    "l": 0.71604,
    "c": 0.15992,
    "h": 297.1
  },
  "luminance": 0.34481
}

Semantic roles & 50–950 ramp

primary
#AF8BFA
secondary
#EBF6D5
accent
#E6009B
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AF8BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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