#AF6EF9#AF6EF9

#AF6EF9 is a light, highly saturated violet. Relative luminance 0.271; OKLCH L 66.9% C 0.202 H 302.9°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#AF6EF9
RGBrgb(175, 110, 249)
HSLhsl(268, 92%, 70%)
HSVhsv(268, 56%, 98%)
CMYKcmyk(29.7%, 55.8%, 0%, 2.4%)
CIE-LABlab(59.07, 52.20, -60.13)
CIE-LCHlch(59.07, 79.63, 310.96°)
OKLaboklab(66.92% 0.1099 -0.1698)
OKLCHoklch(66.92% 0.202 302.9)
XYZxyz(40.3501, 27.1054, 92.7103)
Luminance0.2711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6EF9 #B8F96E
analogous
#6E72F9 #AF6EF9 #F56EF9
triadic
#AF6EF9 #F9AF6E #6EF9AF
tetradic
#AF6EF9 #F96E72 #B8F96E #6EF9F5
square
#AF6EF9 #F96E72 #B8F96E #6EF9F5
split-complementary
#AF6EF9 #F9F56E #72F96E
monochromatic
#6F09E3 #8F33F7 #AF6EF9 #CFA9FB #EFE2FE

Accessibility & contrast

On white

3.27
#AF6EF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#AF6EF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6EF9
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6EF9#FFFFFF#000000##000000
##AF6EF91.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#358DFE
Deuteranopia (green-blind)
#4E8EF6
Tritanopia (blue-blind)
#A189A9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #af6ef9;
/* rgb */ color: rgb(175, 110, 249);
/* oklch */ color: oklch(66.9% 0.202 302.9);
Tailwind
colors: {
  custom: {
    50: '#cb9afc',
    500: '#af6ef9',
    950: '#000000',
  },
}
SCSS
$custom: #af6ef9;
$custom-light: #cb9afc;
$custom-dark: #000000;
JSON
{
  "hex": "#af6ef9",
  "rgb": {
    "r": 175,
    "g": 110,
    "b": 249
  },
  "hsl": {
    "h": 268.058,
    "s": 92.053,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66923,
    "c": 0.20227,
    "h": 302.9
  },
  "luminance": 0.27105
}

Semantic roles & 50–950 ramp

primary
#AF6EF9
secondary
#E3F4CE
accent
#E6007A
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF6EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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