#AF6EEE#AF6EEE

#AF6EEE is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.3% C 0.190 H 305.3°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#AF6EEE
RGBrgb(175, 110, 238)
HSLhsl(270, 79%, 68%)
HSVhsv(270, 54%, 93%)
CMYKcmyk(26.5%, 53.8%, 0%, 6.7%)
CIE-LABlab(58.45, 49.63, -55.02)
CIE-LCHlch(58.45, 74.10, 312.05°)
OKLaboklab(66.27% 0.1095 -0.1549)
OKLCHoklch(66.27% 0.19 305.3)
XYZxyz(38.6844, 26.4391, 83.9376)
Luminance0.2644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6EEE #ADEE6E
analogous
#6F6EEE #AF6EEE #EE6EED
triadic
#AF6EEE #EEAF6E #6EEEAF
tetradic
#AF6EEE #EE6F6E #ADEE6E #6EEDEE
square
#AF6EEE #EE6F6E #ADEE6E #6EEDEE
split-complementary
#AF6EEE #EDEE6E #6EEE6F
monochromatic
#7218CA #9137E8 #AF6EEE #CDA5F4 #EBDCFB

Accessibility & contrast

On white

3.34
#AF6EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#AF6EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6EEE
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6EEE#FFFFFF#000000##000000
##AF6EEE1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#428BF2
Deuteranopia (green-blind)
#588DEB
Tritanopia (blue-blind)
#A486A4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af6eee;
/* rgb */ color: rgb(175, 110, 238);
/* oklch */ color: oklch(66.3% 0.190 305.3);
Tailwind
colors: {
  custom: {
    50: '#ca9af4',
    500: '#af6eee',
    950: '#000000',
  },
}
SCSS
$custom: #af6eee;
$custom-light: #ca9af4;
$custom-dark: #000000;
JSON
{
  "hex": "#af6eee",
  "rgb": {
    "r": 175,
    "g": 110,
    "b": 238
  },
  "hsl": {
    "h": 270.469,
    "s": 79.012,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66267,
    "c": 0.18967,
    "h": 305.3
  },
  "luminance": 0.26439
}

Semantic roles & 50–950 ramp

primary
#AF6EEE
secondary
#DCEFC8
accent
#DB0A71
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF6EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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