#AF67ED#AF67ED

#AF67ED is a light, vivid violet. Relative luminance 0.249; OKLCH L 65.2% C 0.199 H 306.5°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#AF67ED
RGBrgb(175, 103, 237)
HSLhsl(272, 79%, 67%)
HSVhsv(272, 57%, 93%)
CMYKcmyk(26.2%, 56.5%, 0%, 7.1%)
CIE-LABlab(57.01, 53.05, -56.77)
CIE-LCHlch(57.01, 77.70, 313.06°)
OKLaboklab(65.19% 0.1182 -0.16)
OKLCHoklch(65.19% 0.199 306.5)
XYZxyz(37.8123, 24.9292, 82.9242)
Luminance0.2493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF67ED #A5ED67
analogous
#6C67ED #AF67ED #ED67E8
triadic
#AF67ED #EDAF67 #67EDAF
tetradic
#AF67ED #ED6C67 #A5ED67 #67E8ED
square
#AF67ED #ED6C67 #A5ED67 #67E8ED
split-complementary
#AF67ED #E8ED67 #67ED6C
monochromatic
#7317C3 #9230E7 #AF67ED #CC9EF3 #E9D4FA

Accessibility & contrast

On white

3.51
#AF67ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#AF67ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF67ED
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF67ED#FFFFFF#000000##000000
##AF67ED1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3486F1
Deuteranopia (green-blind)
#5089EA
Tritanopia (blue-blind)
#A580A0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af67ed;
/* rgb */ color: rgb(175, 103, 237);
/* oklch */ color: oklch(65.2% 0.199 306.5);
Tailwind
colors: {
  custom: {
    50: '#ca95f3',
    500: '#af67ed',
    950: '#000000',
  },
}
SCSS
$custom: #af67ed;
$custom-light: #ca95f3;
$custom-dark: #000000;
JSON
{
  "hex": "#af67ed",
  "rgb": {
    "r": 175,
    "g": 103,
    "b": 237
  },
  "hsl": {
    "h": 272.239,
    "s": 78.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65187,
    "c": 0.19893,
    "h": 306.5
  },
  "luminance": 0.24929
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF67ED

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

Preview Lab → · Contrast checker → · Palette generator →

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