#AF6EF8#AF6EF8

#AF6EF8 is a light, highly saturated violet. Relative luminance 0.270; OKLCH L 66.9% C 0.201 H 303.1°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#AF6EF8
RGBrgb(175, 110, 248)
HSLhsl(268, 91%, 70%)
HSVhsv(268, 56%, 97%)
CMYKcmyk(29.4%, 55.6%, 0%, 2.7%)
CIE-LABlab(59.01, 51.96, -59.67)
CIE-LCHlch(59.01, 79.12, 311.05°)
OKLaboklab(66.86% 0.1098 -0.1685)
OKLCHoklch(66.86% 0.201 303.1)
XYZxyz(40.1946, 27.0432, 91.8910)
Luminance0.2704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6EF8 #B7F86E
analogous
#6E72F8 #AF6EF8 #F46EF8
triadic
#AF6EF8 #F8AF6E #6EF8AF
tetradic
#AF6EF8 #F86E72 #B7F86E #6EF8F4
square
#AF6EF8 #F86E72 #B7F86E #6EF8F4
split-complementary
#AF6EF8 #F8F46E #72F86E
monochromatic
#700BE1 #8F34F5 #AF6EF8 #CFA8FB #EFE2FE

Accessibility & contrast

On white

3.28
#AF6EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#AF6EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6EF8
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6EF8#FFFFFF#000000##000000
##AF6EF81.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#368DFD
Deuteranopia (green-blind)
#4F8EF5
Tritanopia (blue-blind)
#A189A9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #af6ef8;
/* rgb */ color: rgb(175, 110, 248);
/* oklch */ color: oklch(66.9% 0.201 303.1);
Tailwind
colors: {
  custom: {
    50: '#cb9afb',
    500: '#af6ef8',
    950: '#000000',
  },
}
SCSS
$custom: #af6ef8;
$custom-light: #cb9afb;
$custom-dark: #000000;
JSON
{
  "hex": "#af6ef8",
  "rgb": {
    "r": 175,
    "g": 110,
    "b": 248
  },
  "hsl": {
    "h": 268.261,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66862,
    "c": 0.20113,
    "h": 303.1
  },
  "luminance": 0.27043
}

Semantic roles & 50–950 ramp

primary
#AF6EF8
secondary
#E2F4CE
accent
#E60079
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF6EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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