#AF6FEE#AF6FEE

#AF6FEE is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.4% C 0.188 H 305.1°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#AF6FEE
RGBrgb(175, 111, 238)
HSLhsl(270, 79%, 68%)
HSVhsv(270, 53%, 93%)
CMYKcmyk(26.5%, 53.4%, 0%, 6.7%)
CIE-LABlab(58.65, 49.10, -54.70)
CIE-LCHlch(58.65, 73.50, 311.91°)
OKLaboklab(66.42% 0.1082 -0.1539)
OKLCHoklch(66.42% 0.188 305.1)
XYZxyz(38.7929, 26.6561, 83.9738)
Luminance0.2666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6FEE #AEEE6F
analogous
#6F6FEE #AF6FEE #EE6FEE
triadic
#AF6FEE #EEAF6F #6FEEAF
tetradic
#AF6FEE #EE6F6F #AEEE6F #6FEEEE
square
#AF6FEE #EE6F6F #AEEE6F #6FEEEE
split-complementary
#AF6FEE #EEEE6F #6FEE6F
monochromatic
#7218CB #9138E8 #AF6FEE #CDA6F4 #ECDCFB

Accessibility & contrast

On white

3.32
#AF6FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#AF6FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6FEE
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6FEE#FFFFFF#000000##000000
##AF6FEE1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#448BF2
Deuteranopia (green-blind)
#598DEB
Tritanopia (blue-blind)
#A487A4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af6fee;
/* rgb */ color: rgb(175, 111, 238);
/* oklch */ color: oklch(66.4% 0.188 305.1);
Tailwind
colors: {
  custom: {
    50: '#ca9af4',
    500: '#af6fee',
    950: '#000000',
  },
}
SCSS
$custom: #af6fee;
$custom-light: #ca9af4;
$custom-dark: #000000;
JSON
{
  "hex": "#af6fee",
  "rgb": {
    "r": 175,
    "g": 111,
    "b": 238
  },
  "hsl": {
    "h": 270.236,
    "s": 78.882,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66417,
    "c": 0.18816,
    "h": 305.1
  },
  "luminance": 0.26656
}

Semantic roles & 50–950 ramp

primary
#AF6FEE
secondary
#DCF0C9
accent
#DB0A72
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF6FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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