#AF67E9#AF67E9

#AF67E9 is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.9% C 0.194 H 307.4°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AF67E9
RGBrgb(175, 103, 233)
HSLhsl(273, 75%, 66%)
HSVhsv(273, 56%, 91%)
CMYKcmyk(24.9%, 55.8%, 0%, 8.6%)
CIE-LABlab(56.78, 52.14, -54.90)
CIE-LCHlch(56.78, 75.72, 313.53°)
OKLaboklab(64.95% 0.1181 -0.1545)
OKLCHoklch(64.95% 0.194 307.4)
XYZxyz(37.2344, 24.6981, 79.8807)
Luminance0.2470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF67E9 #A1E967
analogous
#6E67E9 #AF67E9 #E967E2
triadic
#AF67E9 #E9AF67 #67E9AF
tetradic
#AF67E9 #E96E67 #A1E967 #67E2E9
square
#AF67E9 #E96E67 #A1E967 #67E2E9
split-complementary
#AF67E9 #E2E967 #67E96E
monochromatic
#731BBB #9332E1 #AF67E9 #CB9CF1 #E7D2F8

Accessibility & contrast

On white

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

On black

5.94
#AF67E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF67E9
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF67E9#FFFFFF#000000##000000
##AF67E91.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3986ED
Deuteranopia (green-blind)
#5489E6
Tritanopia (blue-blind)
#A67F9E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af67e9;
/* rgb */ color: rgb(175, 103, 233);
/* oklch */ color: oklch(64.9% 0.194 307.4);
Tailwind
colors: {
  custom: {
    50: '#ca95f1',
    500: '#af67e9',
    950: '#000000',
  },
}
SCSS
$custom: #af67e9;
$custom-light: #ca95f1;
$custom-dark: #000000;
JSON
{
  "hex": "#af67e9",
  "rgb": {
    "r": 175,
    "g": 103,
    "b": 233
  },
  "hsl": {
    "h": 273.231,
    "s": 74.713,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64948,
    "c": 0.19449,
    "h": 307.4
  },
  "luminance": 0.24698
}

Semantic roles & 50–950 ramp

primary
#AF67E9
secondary
#D4EBC0
accent
#D70F68
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF67E9

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

Preview Lab → · Contrast checker → · Palette generator →

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