#AF6EF0#AF6EF0

#AF6EF0 is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.4% C 0.192 H 304.8°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#AF6EF0
RGBrgb(175, 110, 240)
HSLhsl(270, 81%, 69%)
HSVhsv(270, 54%, 94%)
CMYKcmyk(27.1%, 54.2%, 0%, 5.9%)
CIE-LABlab(58.56, 50.09, -55.95)
CIE-LCHlch(58.56, 75.10, 311.84°)
OKLaboklab(66.38% 0.1096 -0.1576)
OKLCHoklch(66.38% 0.192 304.8)
XYZxyz(38.9799, 26.5573, 85.4937)
Luminance0.2656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6EF0 #AFF06E
analogous
#6E6EF0 #AF6EF0 #F06EF0
triadic
#AF6EF0 #F0AF6E #6EF0AF
tetradic
#AF6EF0 #F06E6E #AFF06E #6EF0F0
square
#AF6EF0 #F06E6E #AFF06E #6EF0F0
split-complementary
#AF6EF0 #F0F06E #6EF06E
monochromatic
#7215CE #9037EA #AF6EF0 #CEA5F6 #ECDDFB

Accessibility & contrast

On white

3.33
#AF6EF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#AF6EF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6EF0
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6EF0#FFFFFF#000000##000000
##AF6EF01.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#408BF4
Deuteranopia (green-blind)
#568DED
Tritanopia (blue-blind)
#A486A5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af6ef0;
/* rgb */ color: rgb(175, 110, 240);
/* oklch */ color: oklch(66.4% 0.192 304.8);
Tailwind
colors: {
  custom: {
    50: '#ca9af5',
    500: '#af6ef0',
    950: '#000000',
  },
}
SCSS
$custom: #af6ef0;
$custom-light: #ca9af5;
$custom-dark: #000000;
JSON
{
  "hex": "#af6ef0",
  "rgb": {
    "r": 175,
    "g": 110,
    "b": 240
  },
  "hsl": {
    "h": 270,
    "s": 81.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66384,
    "c": 0.19196,
    "h": 304.8
  },
  "luminance": 0.26557
}

Semantic roles & 50–950 ramp

primary
#AF6EF0
secondary
#DDF0CA
accent
#DE0873
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF6EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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