#AF67F2#AF67F2

#AF67F2 is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.5% C 0.204 H 305.3°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AF67F2
RGBrgb(175, 103, 242)
HSLhsl(271, 84%, 68%)
HSVhsv(271, 57%, 95%)
CMYKcmyk(27.7%, 57.4%, 0%, 5.1%)
CIE-LABlab(57.29, 54.20, -59.09)
CIE-LCHlch(57.29, 80.18, 312.52°)
OKLaboklab(65.49% 0.1183 -0.1668)
OKLCHoklch(65.49% 0.204 305.3)
XYZxyz(38.5530, 25.2255, 86.8252)
Luminance0.2522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF67F2 #AAF267
analogous
#6967F2 #AF67F2 #F267EF
triadic
#AF67F2 #F2AF67 #67F2AF
tetradic
#AF67F2 #F26967 #AAF267 #67EFF2
square
#AF67F2 #F26967 #AAF267 #67EFF2
split-complementary
#AF67F2 #EFF267 #67F269
monochromatic
#7312CD #912FED #AF67F2 #CD9FF7 #EAD8FC

Accessibility & contrast

On white

3.47
#AF67F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#AF67F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF67F2
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF67F2#FFFFFF#000000##000000
##AF67F21.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D87F7
Deuteranopia (green-blind)
#4C8AEF
Tritanopia (blue-blind)
#A482A3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af67f2;
/* rgb */ color: rgb(175, 103, 242);
/* oklch */ color: oklch(65.5% 0.204 305.3);
Tailwind
colors: {
  custom: {
    50: '#cb95f7',
    500: '#af67f2',
    950: '#000000',
  },
}
SCSS
$custom: #af67f2;
$custom-light: #cb95f7;
$custom-dark: #000000;
JSON
{
  "hex": "#af67f2",
  "rgb": {
    "r": 175,
    "g": 103,
    "b": 242
  },
  "hsl": {
    "h": 271.079,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6549,
    "c": 0.20449,
    "h": 305.3
  },
  "luminance": 0.25225
}

Semantic roles & 50–950 ramp

primary
#AF67F2
secondary
#DAF0C5
accent
#E1056F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AF67F2

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

Preview Lab → · Contrast checker → · Palette generator →

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