#AF67E2#AF67E2

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

Color values

HEX#AF67E2
RGBrgb(175, 103, 226)
HSLhsl(275, 68%, 65%)
HSVhsv(275, 54%, 89%)
CMYKcmyk(22.6%, 54.4%, 0%, 11.4%)
CIE-LABlab(56.39, 50.58, -51.59)
CIE-LCHlch(56.39, 72.25, 314.43°)
OKLaboklab(64.54% 0.1178 -0.1448)
OKLCHoklch(64.54% 0.187 309.1)
XYZxyz(36.2543, 24.3060, 74.7184)
Luminance0.2430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF67E2 #9AE267
analogous
#7267E2 #AF67E2 #E267D8
triadic
#AF67E2 #E2AF67 #67E2AF
tetradic
#AF67E2 #E27267 #9AE267 #67D8E2
square
#AF67E2 #E27267 #9AE267 #67D8E2
split-complementary
#AF67E2 #D8E267 #67E272
monochromatic
#7321AD #9434D8 #AF67E2 #CA9AEC #E5CEF6

Accessibility & contrast

On white

3.58
#AF67E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#AF67E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF67E2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF67E2#FFFFFF#000000##000000
##AF67E21.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4184E6
Deuteranopia (green-blind)
#5988DF
Tritanopia (blue-blind)
#A87D9B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af67e2;
/* rgb */ color: rgb(175, 103, 226);
/* oklch */ color: oklch(64.5% 0.187 309.1);
Tailwind
colors: {
  custom: {
    50: '#ca95ec',
    500: '#af67e2',
    950: '#000000',
  },
}
SCSS
$custom: #af67e2;
$custom-light: #ca95ec;
$custom-dark: #000000;
JSON
{
  "hex": "#af67e2",
  "rgb": {
    "r": 175,
    "g": 103,
    "b": 226
  },
  "hsl": {
    "h": 275.122,
    "s": 67.956,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64538,
    "c": 0.18671,
    "h": 309.1
  },
  "luminance": 0.24305
}

Semantic roles & 50–950 ramp

primary
#AF67E2
secondary
#CFE8BD
accent
#D01663
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #AF67E2

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

Preview Lab → · Contrast checker → · Palette generator →

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