#AF6EE3#AF6EE3

#AF6EE3 is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.6% C 0.177 H 307.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AF6EE3
RGBrgb(175, 110, 227)
HSLhsl(273, 68%, 66%)
HSVhsv(273, 52%, 89%)
CMYKcmyk(22.9%, 51.5%, 0%, 11%)
CIE-LABlab(57.86, 47.11, -49.82)
CIE-LCHlch(57.86, 68.57, 313.40°)
OKLaboklab(65.64% 0.1088 -0.1397)
OKLCHoklch(65.64% 0.177 307.9)
XYZxyz(37.1175, 25.8123, 75.6851)
Luminance0.2581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6EE3 #A2E36E
analogous
#746EE3 #AF6EE3 #E36EDD
triadic
#AF6EE3 #E3AF6E #6EE3AF
tetradic
#AF6EE3 #E3746E #A2E36E #6EDDE3
square
#AF6EE3 #E3746E #A2E36E #6EDDE3
split-complementary
#AF6EE3 #DDE36E #6EE374
monochromatic
#7323B4 #933BD9 #AF6EE3 #CBA1ED #E8D5F7

Accessibility & contrast

On white

3.41
#AF6EE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#AF6EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6EE3
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6EE3#FFFFFF#000000##000000
##AF6EE31.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C88E7
Deuteranopia (green-blind)
#608CE0
Tritanopia (blue-blind)
#A7829E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af6ee3;
/* rgb */ color: rgb(175, 110, 227);
/* oklch */ color: oklch(65.6% 0.177 307.9);
Tailwind
colors: {
  custom: {
    50: '#c999ec',
    500: '#af6ee3',
    950: '#000000',
  },
}
SCSS
$custom: #af6ee3;
$custom-light: #c999ec;
$custom-dark: #000000;
JSON
{
  "hex": "#af6ee3",
  "rgb": {
    "r": 175,
    "g": 110,
    "b": 227
  },
  "hsl": {
    "h": 273.333,
    "s": 67.63,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65637,
    "c": 0.17704,
    "h": 307.9
  },
  "luminance": 0.25812
}

Semantic roles & 50–950 ramp

primary
#AF6EE3
secondary
#D4EAC3
accent
#D01668
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AF6EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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