#AF67F8#AF67F8

#AF67F8 is a light, highly saturated violet. Relative luminance 0.256; OKLCH L 65.9% C 0.211 H 304.1°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AF67F8
RGBrgb(175, 103, 248)
HSLhsl(270, 91%, 69%)
HSVhsv(270, 58%, 97%)
CMYKcmyk(29.4%, 58.5%, 0%, 2.7%)
CIE-LABlab(57.65, 55.58, -61.86)
CIE-LCHlch(57.65, 83.16, 311.94°)
OKLaboklab(65.86% 0.1183 -0.1749)
OKLCHoklch(65.86% 0.211 304.1)
XYZxyz(39.4689, 25.5919, 91.6492)
Luminance0.2559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF67F8 #B0F867
analogous
#6768F8 #AF67F8 #F767F8
triadic
#AF67F8 #F8AF67 #67F8AF
tetradic
#AF67F8 #F86768 #B0F867 #67F8F7
square
#AF67F8 #F86768 #B0F867 #67F8F7
split-complementary
#AF67F8 #F8F767 #68F867
monochromatic
#720ADB #902CF5 #AF67F8 #CEA2FB #EDDCFD

Accessibility & contrast

On white

3.43
#AF67F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#AF67F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF67F8
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF67F8#FFFFFF#000000##000000
##AF67F81.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2289FD
Deuteranopia (green-blind)
#458AF5
Tritanopia (blue-blind)
#A284A6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af67f8;
/* rgb */ color: rgb(175, 103, 248);
/* oklch */ color: oklch(65.9% 0.211 304.1);
Tailwind
colors: {
  custom: {
    50: '#cb95fb',
    500: '#af67f8',
    950: '#000000',
  },
}
SCSS
$custom: #af67f8;
$custom-light: #cb95fb;
$custom-dark: #000000;
JSON
{
  "hex": "#af67f8",
  "rgb": {
    "r": 175,
    "g": 103,
    "b": 248
  },
  "hsl": {
    "h": 269.793,
    "s": 91.195,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65862,
    "c": 0.21115,
    "h": 304.1
  },
  "luminance": 0.25592
}

Semantic roles & 50–950 ramp

primary
#AF67F8
secondary
#DEF3C8
accent
#E60074
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF67F8

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

Preview Lab → · Contrast checker → · Palette generator →

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