#AF8BE5#AF8BE5

#AF8BE5 is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.5% C 0.133 H 301.5°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#AF8BE5
RGBrgb(175, 139, 229)
HSLhsl(264, 63%, 72%)
HSVhsv(264, 39%, 90%)
CMYKcmyk(23.6%, 39.3%, 0%, 10.2%)
CIE-LABlab(64.35, 31.61, -40.70)
CIE-LCHlch(64.35, 51.53, 307.83°)
OKLaboklab(70.53% 0.0695 -0.1133)
OKLCHoklch(70.53% 0.133 301.5)
XYZxyz(41.0516, 33.2363, 78.3661)
Luminance0.3324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8BE5 #C1E58B
analogous
#8B94E5 #AF8BE5 #DC8BE5
triadic
#AF8BE5 #E5AF8B #8BE5AF
tetradic
#AF8BE5 #E58B94 #C1E58B #8BE5DC
square
#AF8BE5 #E58B94 #C1E58B #8BE5DC
split-complementary
#AF8BE5 #E5DC8B #94E58B
monochromatic
#6B2DC9 #8D59DA #AF8BE5 #D1BDF0 #EEE6F9

Accessibility & contrast

On white

2.75
#AF8BE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#AF8BE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF8BE5
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8BE5#FFFFFF#000000##000000
##AF8BE51.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#759BE8
Deuteranopia (green-blind)
#7C9CE3
Tritanopia (blue-blind)
#A59AAD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #af8be5;
/* rgb */ color: rgb(175, 139, 229);
/* oklch */ color: oklch(70.5% 0.133 301.5);
Tailwind
colors: {
  custom: {
    50: '#c8aded',
    500: '#af8be5',
    950: '#000000',
  },
}
SCSS
$custom: #af8be5;
$custom-light: #c8aded;
$custom-dark: #000000;
JSON
{
  "hex": "#af8be5",
  "rgb": {
    "r": 175,
    "g": 139,
    "b": 229
  },
  "hsl": {
    "h": 264,
    "s": 63.38,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70532,
    "c": 0.13287,
    "h": 301.5
  },
  "luminance": 0.33236
}

Semantic roles & 50–950 ramp

primary
#AF8BE5
secondary
#E8F1DA
accent
#CB1A84
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AF8BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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