#AF67EA#AF67EA

#AF67EA is a light, vivid violet. Relative luminance 0.248; OKLCH L 65.0% C 0.196 H 307.2°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AF67EA
RGBrgb(175, 103, 234)
HSLhsl(273, 76%, 66%)
HSVhsv(273, 56%, 92%)
CMYKcmyk(25.2%, 56%, 0%, 8.2%)
CIE-LABlab(56.84, 52.37, -55.37)
CIE-LCHlch(56.84, 76.21, 313.41°)
OKLaboklab(65.01% 0.1182 -0.1559)
OKLCHoklch(65.01% 0.196 307.2)
XYZxyz(37.3777, 24.7554, 80.6351)
Luminance0.2475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF67EA #A2EA67
analogous
#6D67EA #AF67EA #EA67E4
triadic
#AF67EA #EAAF67 #67EAAF
tetradic
#AF67EA #EA6D67 #A2EA67 #67E4EA
square
#AF67EA #EA6D67 #A2EA67 #67E4EA
split-complementary
#AF67EA #E4EA67 #67EA6D
monochromatic
#731ABD #9331E3 #AF67EA #CB9DF1 #E8D3F9

Accessibility & contrast

On white

3.53
#AF67EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#AF67EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF67EA
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF67EA#FFFFFF#000000##000000
##AF67EA1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3886EE
Deuteranopia (green-blind)
#5389E7
Tritanopia (blue-blind)
#A6809F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af67ea;
/* rgb */ color: rgb(175, 103, 234);
/* oklch */ color: oklch(65.0% 0.196 307.2);
Tailwind
colors: {
  custom: {
    50: '#ca95f1',
    500: '#af67ea',
    950: '#000000',
  },
}
SCSS
$custom: #af67ea;
$custom-light: #ca95f1;
$custom-dark: #000000;
JSON
{
  "hex": "#af67ea",
  "rgb": {
    "r": 175,
    "g": 103,
    "b": 234
  },
  "hsl": {
    "h": 272.977,
    "s": 75.723,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65007,
    "c": 0.1956,
    "h": 307.2
  },
  "luminance": 0.24755
}

Semantic roles & 50–950 ramp

primary
#AF67EA
secondary
#D4ECC1
accent
#D80E69
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF67EA

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

Preview Lab → · Contrast checker → · Palette generator →

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