#AF67DE#AF67DE

#AF67DE is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.3% C 0.182 H 310.2°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AF67DE
RGBrgb(175, 103, 222)
HSLhsl(276, 64%, 64%)
HSVhsv(276, 54%, 87%)
CMYKcmyk(21.2%, 53.6%, 0%, 12.9%)
CIE-LABlab(56.18, 49.69, -49.69)
CIE-LCHlch(56.18, 70.27, 315.00°)
OKLaboklab(64.31% 0.1176 -0.1393)
OKLCHoklch(64.31% 0.182 310.2)
XYZxyz(35.7118, 24.0890, 71.8615)
Luminance0.2409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF67DE #96DE67
analogous
#7367DE #AF67DE #DE67D1
triadic
#AF67DE #DEAF67 #67DEAF
tetradic
#AF67DE #DE7367 #96DE67 #67D1DE
square
#AF67DE #DE7367 #96DE67 #67D1DE
split-complementary
#AF67DE #D1DE67 #67DE73
monochromatic
#7324A6 #9535D3 #AF67DE #C999E9 #E4CCF4

Accessibility & contrast

On white

3.61
#AF67DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#AF67DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF67DE
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF67DE#FFFFFF#000000##000000
##AF67DE1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4483E2
Deuteranopia (green-blind)
#5C88DB
Tritanopia (blue-blind)
#A97C99
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af67de;
/* rgb */ color: rgb(175, 103, 222);
/* oklch */ color: oklch(64.3% 0.182 310.2);
Tailwind
colors: {
  custom: {
    50: '#c995e9',
    500: '#af67de',
    950: '#000000',
  },
}
SCSS
$custom: #af67de;
$custom-light: #c995e9;
$custom-dark: #000000;
JSON
{
  "hex": "#af67de",
  "rgb": {
    "r": 175,
    "g": 103,
    "b": 222
  },
  "hsl": {
    "h": 276.303,
    "s": 64.324,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64309,
    "c": 0.18229,
    "h": 310.2
  },
  "luminance": 0.24088
}

Semantic roles & 50–950 ramp

primary
#AF67DE
secondary
#CCE5BB
accent
#CC1960
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AF67DE

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

Preview Lab → · Contrast checker → · Palette generator →

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