#AF6EEB#AF6EEB

#AF6EEB is a light, vivid violet. Relative luminance 0.263; OKLCH L 66.1% C 0.186 H 305.9°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AF6EEB
RGBrgb(175, 110, 235)
HSLhsl(271, 76%, 68%)
HSVhsv(271, 53%, 92%)
CMYKcmyk(25.5%, 53.2%, 0%, 7.8%)
CIE-LABlab(58.29, 48.94, -53.61)
CIE-LCHlch(58.29, 72.59, 312.39°)
OKLaboklab(66.09% 0.1093 -0.1508)
OKLCHoklch(66.09% 0.186 305.9)
XYZxyz(38.2474, 26.2643, 81.6357)
Luminance0.2626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6EEB #AAEB6E
analogous
#706EEB #AF6EEB #EB6EE9
triadic
#AF6EEB #EBAF6E #6EEBAF
tetradic
#AF6EEB #EB706E #AAEB6E #6EE9EB
square
#AF6EEB #EB706E #AAEB6E #6EE9EB
split-complementary
#AF6EEB #E9EB6E #6EEB70
monochromatic
#731BC4 #9138E4 #AF6EEB #CDA4F2 #EADAFA

Accessibility & contrast

On white

3.36
#AF6EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#AF6EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6EEB
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6EEB#FFFFFF#000000##000000
##AF6EEB1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#458AEF
Deuteranopia (green-blind)
#5A8DE8
Tritanopia (blue-blind)
#A585A2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #af6eeb;
/* rgb */ color: rgb(175, 110, 235);
/* oklch */ color: oklch(66.1% 0.186 305.9);
Tailwind
colors: {
  custom: {
    50: '#ca9af2',
    500: '#af6eeb',
    950: '#000000',
  },
}
SCSS
$custom: #af6eeb;
$custom-light: #ca9af2;
$custom-dark: #000000;
JSON
{
  "hex": "#af6eeb",
  "rgb": {
    "r": 175,
    "g": 110,
    "b": 235
  },
  "hsl": {
    "h": 271.2,
    "s": 75.758,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66092,
    "c": 0.18623,
    "h": 305.9
  },
  "luminance": 0.26264
}

Semantic roles & 50–950 ramp

primary
#AF6EEB
secondary
#DAEEC7
accent
#D80E6F
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF6EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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