#AF6FF9#AF6FF9

#AF6FF9 is a light, highly saturated violet. Relative luminance 0.273; OKLCH L 67.1% C 0.201 H 302.7°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#AF6FF9
RGBrgb(175, 111, 249)
HSLhsl(268, 92%, 71%)
HSVhsv(268, 55%, 98%)
CMYKcmyk(29.7%, 55.4%, 0%, 2.4%)
CIE-LABlab(59.27, 51.67, -59.81)
CIE-LCHlch(59.27, 79.04, 310.83°)
OKLaboklab(67.07% 0.1086 -0.1689)
OKLCHoklch(67.07% 0.201 302.7)
XYZxyz(40.4586, 27.3224, 92.7464)
Luminance0.2732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6FF9 #B9F96F
analogous
#6F74F9 #AF6FF9 #F46FF9
triadic
#AF6FF9 #F9AF6F #6FF9AF
tetradic
#AF6FF9 #F96F74 #B9F96F #6FF9F4
square
#AF6FF9 #F96F74 #B9F96F #6FF9F4
split-complementary
#AF6FF9 #F9F46F #74F96F
monochromatic
#6F0AE4 #8E34F7 #AF6FF9 #D0AAFB #EFE2FE

Accessibility & contrast

On white

3.25
#AF6FF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#AF6FF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6FF9
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6FF9#FFFFFF#000000##000000
##AF6FF91.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#378DFE
Deuteranopia (green-blind)
#4F8EF6
Tritanopia (blue-blind)
#A18AAA
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #af6ff9;
/* rgb */ color: rgb(175, 111, 249);
/* oklch */ color: oklch(67.1% 0.201 302.7);
Tailwind
colors: {
  custom: {
    50: '#cb9afc',
    500: '#af6ff9',
    950: '#000000',
  },
}
SCSS
$custom: #af6ff9;
$custom-light: #cb9afc;
$custom-dark: #000000;
JSON
{
  "hex": "#af6ff9",
  "rgb": {
    "r": 175,
    "g": 111,
    "b": 249
  },
  "hsl": {
    "h": 267.826,
    "s": 92,
    "l": 70.588
  },
  "oklch": {
    "l": 0.6707,
    "c": 0.20083,
    "h": 302.7
  },
  "luminance": 0.27322
}

Semantic roles & 50–950 ramp

primary
#AF6FF9
secondary
#E3F5CF
accent
#E6007B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF6FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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