#AF67E8#AF67E8

#AF67E8 is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.9% C 0.193 H 307.6°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AF67E8
RGBrgb(175, 103, 232)
HSLhsl(273, 74%, 66%)
HSVhsv(273, 56%, 91%)
CMYKcmyk(24.6%, 55.6%, 0%, 9%)
CIE-LABlab(56.72, 51.92, -54.43)
CIE-LCHlch(56.72, 75.22, 313.65°)
OKLaboklab(64.89% 0.1181 -0.1531)
OKLCHoklch(64.89% 0.193 307.6)
XYZxyz(37.0920, 24.6411, 79.1305)
Luminance0.2464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF67E8 #A0E867
analogous
#6E67E8 #AF67E8 #E867E1
triadic
#AF67E8 #E8AF67 #67E8AF
tetradic
#AF67E8 #E86E67 #A0E867 #67E1E8
square
#AF67E8 #E86E67 #A0E867 #67E1E8
split-complementary
#AF67E8 #E1E867 #67E86E
monochromatic
#731CB9 #9332E0 #AF67E8 #CB9CF0 #E7D1F8

Accessibility & contrast

On white

3.54
#AF67E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#AF67E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF67E8
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF67E8#FFFFFF#000000##000000
##AF67E81.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A85EC
Deuteranopia (green-blind)
#5589E5
Tritanopia (blue-blind)
#A67F9E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af67e8;
/* rgb */ color: rgb(175, 103, 232);
/* oklch */ color: oklch(64.9% 0.193 307.6);
Tailwind
colors: {
  custom: {
    50: '#ca95f0',
    500: '#af67e8',
    950: '#000000',
  },
}
SCSS
$custom: #af67e8;
$custom-light: #ca95f0;
$custom-dark: #000000;
JSON
{
  "hex": "#af67e8",
  "rgb": {
    "r": 175,
    "g": 103,
    "b": 232
  },
  "hsl": {
    "h": 273.488,
    "s": 73.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64889,
    "c": 0.19338,
    "h": 307.6
  },
  "luminance": 0.24641
}

Semantic roles & 50–950 ramp

primary
#AF67E8
secondary
#D3EBC0
accent
#D61067
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF67E8

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

Preview Lab → · Contrast checker → · Palette generator →

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