#AF67EC#AF67EC

#AF67EC is a light, vivid violet. Relative luminance 0.249; OKLCH L 65.1% C 0.198 H 306.7°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#AF67EC
RGBrgb(175, 103, 236)
HSLhsl(272, 78%, 66%)
HSVhsv(272, 56%, 93%)
CMYKcmyk(25.8%, 56.4%, 0%, 7.5%)
CIE-LABlab(56.95, 52.82, -56.30)
CIE-LCHlch(56.95, 77.20, 313.17°)
OKLaboklab(65.13% 0.1182 -0.1586)
OKLCHoklch(65.13% 0.198 306.7)
XYZxyz(37.6666, 24.8710, 82.1569)
Luminance0.2487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF67EC #A4EC67
analogous
#6D67EC #AF67EC #EC67E7
triadic
#AF67EC #ECAF67 #67ECAF
tetradic
#AF67EC #EC6D67 #A4EC67 #67E7EC
square
#AF67EC #EC6D67 #A4EC67 #67E7EC
split-complementary
#AF67EC #E7EC67 #67EC6D
monochromatic
#7318C1 #9231E5 #AF67EC #CC9DF3 #E8D4FA

Accessibility & contrast

On white

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

On black

5.97
#AF67EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF67EC
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF67EC#FFFFFF#000000##000000
##AF67EC1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3586F0
Deuteranopia (green-blind)
#5189E9
Tritanopia (blue-blind)
#A580A0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af67ec;
/* rgb */ color: rgb(175, 103, 236);
/* oklch */ color: oklch(65.1% 0.198 306.7);
Tailwind
colors: {
  custom: {
    50: '#ca95f3',
    500: '#af67ec',
    950: '#000000',
  },
}
SCSS
$custom: #af67ec;
$custom-light: #ca95f3;
$custom-dark: #000000;
JSON
{
  "hex": "#af67ec",
  "rgb": {
    "r": 175,
    "g": 103,
    "b": 236
  },
  "hsl": {
    "h": 272.481,
    "s": 77.778,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65127,
    "c": 0.19782,
    "h": 306.7
  },
  "luminance": 0.24871
}

Semantic roles & 50–950 ramp

primary
#AF67EC
secondary
#D6EDC2
accent
#DA0B6A
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF67EC

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

Preview Lab → · Contrast checker → · Palette generator →

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