#AF67E1#AF67E1

#AF67E1 is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.5% C 0.186 H 309.4°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AF67E1
RGBrgb(175, 103, 225)
HSLhsl(275, 67%, 64%)
HSVhsv(275, 54%, 88%)
CMYKcmyk(22.2%, 54.2%, 0%, 11.8%)
CIE-LABlab(56.34, 50.35, -51.12)
CIE-LCHlch(56.34, 71.75, 314.57°)
OKLaboklab(64.48% 0.1178 -0.1434)
OKLCHoklch(64.48% 0.186 309.4)
XYZxyz(36.1174, 24.2513, 73.9979)
Luminance0.2425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF67E1 #99E167
analogous
#7267E1 #AF67E1 #E167D6
triadic
#AF67E1 #E1AF67 #67E1AF
tetradic
#AF67E1 #E17267 #99E167 #67D6E1
square
#AF67E1 #E17267 #99E167 #67D6E1
split-complementary
#AF67E1 #D6E167 #67E172
monochromatic
#7322AC #9434D7 #AF67E1 #CA9AEB #E5CDF5

Accessibility & contrast

On white

3.59
#AF67E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#AF67E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF67E1
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF67E1#FFFFFF#000000##000000
##AF67E11.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4284E5
Deuteranopia (green-blind)
#5A88DE
Tritanopia (blue-blind)
#A87D9A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af67e1;
/* rgb */ color: rgb(175, 103, 225);
/* oklch */ color: oklch(64.5% 0.186 309.4);
Tailwind
colors: {
  custom: {
    50: '#ca95eb',
    500: '#af67e1',
    950: '#000000',
  },
}
SCSS
$custom: #af67e1;
$custom-light: #ca95eb;
$custom-dark: #000000;
JSON
{
  "hex": "#af67e1",
  "rgb": {
    "r": 175,
    "g": 103,
    "b": 225
  },
  "hsl": {
    "h": 275.41,
    "s": 67.033,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64481,
    "c": 0.18561,
    "h": 309.4
  },
  "luminance": 0.24251
}

Semantic roles & 50–950 ramp

primary
#AF67E1
secondary
#CEE7BD
accent
#CF1762
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AF67E1

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

Preview Lab → · Contrast checker → · Palette generator →

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