#AF67EB#AF67EB

#AF67EB is a light, vivid violet. Relative luminance 0.248; OKLCH L 65.1% C 0.197 H 306.9°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AF67EB
RGBrgb(175, 103, 235)
HSLhsl(273, 77%, 66%)
HSVhsv(273, 56%, 92%)
CMYKcmyk(25.5%, 56.2%, 0%, 7.8%)
CIE-LABlab(56.89, 52.60, -55.84)
CIE-LCHlch(56.89, 76.71, 313.29°)
OKLaboklab(65.07% 0.1182 -0.1572)
OKLCHoklch(65.07% 0.197 306.9)
XYZxyz(37.5217, 24.8130, 81.3939)
Luminance0.2481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF67EB #A3EB67
analogous
#6D67EB #AF67EB #EB67E5
triadic
#AF67EB #EBAF67 #67EBAF
tetradic
#AF67EB #EB6D67 #A3EB67 #67E5EB
square
#AF67EB #EB6D67 #A3EB67 #67E5EB
split-complementary
#AF67EB #E5EB67 #67EB6D
monochromatic
#7319BF #9331E4 #AF67EB #CB9DF2 #E8D3F9

Accessibility & contrast

On white

3.52
#AF67EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#AF67EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF67EB
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF67EB#FFFFFF#000000##000000
##AF67EB1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3786EF
Deuteranopia (green-blind)
#5289E8
Tritanopia (blue-blind)
#A6809F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af67eb;
/* rgb */ color: rgb(175, 103, 235);
/* oklch */ color: oklch(65.1% 0.197 306.9);
Tailwind
colors: {
  custom: {
    50: '#ca95f2',
    500: '#af67eb',
    950: '#000000',
  },
}
SCSS
$custom: #af67eb;
$custom-light: #ca95f2;
$custom-dark: #000000;
JSON
{
  "hex": "#af67eb",
  "rgb": {
    "r": 175,
    "g": 103,
    "b": 235
  },
  "hsl": {
    "h": 272.727,
    "s": 76.744,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65067,
    "c": 0.19671,
    "h": 306.9
  },
  "luminance": 0.24813
}

Semantic roles & 50–950 ramp

primary
#AF67EB
secondary
#D5ECC1
accent
#D90D69
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF67EB

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

Preview Lab → · Contrast checker → · Palette generator →

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