#AF67D8#AF67D8

#AF67D8 is a light, vivid violet. Relative luminance 0.238; OKLCH L 64.0% C 0.176 H 311.8°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AF67D8
RGBrgb(175, 103, 216)
HSLhsl(278, 59%, 63%)
HSVhsv(278, 52%, 85%)
CMYKcmyk(19%, 52.3%, 0%, 15.3%)
CIE-LABlab(55.86, 48.37, -46.81)
CIE-LCHlch(55.86, 67.31, 315.94°)
OKLaboklab(63.97% 0.1172 -0.1309)
OKLCHoklch(63.97% 0.176 311.8)
XYZxyz(34.9219, 23.7731, 67.7015)
Luminance0.2377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF67D8 #90D867
analogous
#7667D8 #AF67D8 #D867C8
triadic
#AF67D8 #D8AF67 #67D8AF
tetradic
#AF67D8 #D87667 #90D867 #67C8D8
square
#AF67D8 #D87667 #90D867 #67C8D8
split-complementary
#AF67D8 #C8D867 #67D876
monochromatic
#72289C #9536CC #AF67D8 #C998E4 #E2C8F1

Accessibility & contrast

On white

3.65
#AF67D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#AF67D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF67D8
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF67D8#FFFFFF#000000##000000
##AF67D81.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4982DC
Deuteranopia (green-blind)
#6087D5
Tritanopia (blue-blind)
#AB7A96
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af67d8;
/* rgb */ color: rgb(175, 103, 216);
/* oklch */ color: oklch(64.0% 0.176 311.8);
Tailwind
colors: {
  custom: {
    50: '#c995e4',
    500: '#af67d8',
    950: '#000000',
  },
}
SCSS
$custom: #af67d8;
$custom-light: #c995e4;
$custom-dark: #000000;
JSON
{
  "hex": "#af67d8",
  "rgb": {
    "r": 175,
    "g": 103,
    "b": 216
  },
  "hsl": {
    "h": 278.23,
    "s": 59.162,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63973,
    "c": 0.17565,
    "h": 311.8
  },
  "luminance": 0.23772
}

Semantic roles & 50–950 ramp

primary
#AF67D8
secondary
#C8E2B9
accent
#C71F5C
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AF67D8

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

Preview Lab → · Contrast checker → · Palette generator →

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