#AF6AEA#AF6AEA

#AF6AEA is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.4% C 0.191 H 306.8°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AF6AEA
RGBrgb(175, 106, 234)
HSLhsl(272, 75%, 67%)
HSVhsv(272, 55%, 92%)
CMYKcmyk(25.2%, 54.7%, 0%, 8.2%)
CIE-LABlab(57.43, 50.81, -54.42)
CIE-LCHlch(57.43, 74.46, 313.03°)
OKLaboklab(65.44% 0.1144 -0.1531)
OKLCHoklch(65.44% 0.191 306.8)
XYZxyz(37.6814, 25.3629, 80.7364)
Luminance0.2536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6AEA #A5EA6A
analogous
#6F6AEA #AF6AEA #EA6AE5
triadic
#AF6AEA #EAAF6A #6AEAAF
tetradic
#AF6AEA #EA6F6A #A5EA6A #6AE5EA
square
#AF6AEA #EA6F6A #A5EA6A #6AE5EA
split-complementary
#AF6AEA #E5EA6A #6AEA6F
monochromatic
#731BBF #9234E2 #AF6AEA #CCA0F2 #E9D5F9

Accessibility & contrast

On white

3.46
#AF6AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#AF6AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6AEA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6AEA#FFFFFF#000000##000000
##AF6AEA1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E87EE
Deuteranopia (green-blind)
#568AE7
Tritanopia (blue-blind)
#A682A0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af6aea;
/* rgb */ color: rgb(175, 106, 234);
/* oklch */ color: oklch(65.4% 0.191 306.8);
Tailwind
colors: {
  custom: {
    50: '#ca97f1',
    500: '#af6aea',
    950: '#000000',
  },
}
SCSS
$custom: #af6aea;
$custom-light: #ca97f1;
$custom-dark: #000000;
JSON
{
  "hex": "#af6aea",
  "rgb": {
    "r": 175,
    "g": 106,
    "b": 234
  },
  "hsl": {
    "h": 272.344,
    "s": 75.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65441,
    "c": 0.19113,
    "h": 306.8
  },
  "luminance": 0.25363
}

Semantic roles & 50–950 ramp

primary
#AF6AEA
secondary
#D6EDC3
accent
#D70E6B
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF6AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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