#AF6EFA#AF6EFA

#AF6EFA is a light, highly saturated violet. Relative luminance 0.272; OKLCH L 67.0% C 0.203 H 302.7°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#AF6EFA
RGBrgb(175, 110, 250)
HSLhsl(268, 93%, 71%)
HSVhsv(268, 56%, 98%)
CMYKcmyk(30%, 56%, 0%, 2%)
CIE-LABlab(59.13, 52.44, -60.59)
CIE-LCHlch(59.13, 80.13, 310.87°)
OKLaboklab(66.98% 0.1099 -0.1712)
OKLCHoklch(66.98% 0.203 302.7)
XYZxyz(40.5065, 27.1679, 93.5339)
Luminance0.2717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6EFA #B9FA6E
analogous
#6E73FA #AF6EFA #F56EFA
triadic
#AF6EFA #FAAF6E #6EFAAF
tetradic
#AF6EFA #FA6E73 #B9FA6E #6EFAF5
square
#AF6EFA #FA6E73 #B9FA6E #6EFAF5
split-complementary
#AF6EFA #FAF56E #73FA6E
monochromatic
#6F08E6 #8E33F8 #AF6EFA #D0A9FC #EFE1FE

Accessibility & contrast

On white

3.26
#AF6EFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#AF6EFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6EFA
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6EFA#FFFFFF#000000##000000
##AF6EFA1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#338DFF
Deuteranopia (green-blind)
#4D8EF7
Tritanopia (blue-blind)
#A18AAA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #af6efa;
/* rgb */ color: rgb(175, 110, 250);
/* oklch */ color: oklch(67.0% 0.203 302.7);
Tailwind
colors: {
  custom: {
    50: '#cb9afd',
    500: '#af6efa',
    950: '#000000',
  },
}
SCSS
$custom: #af6efa;
$custom-light: #cb9afd;
$custom-dark: #000000;
JSON
{
  "hex": "#af6efa",
  "rgb": {
    "r": 175,
    "g": 110,
    "b": 250
  },
  "hsl": {
    "h": 267.857,
    "s": 93.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66984,
    "c": 0.20342,
    "h": 302.7
  },
  "luminance": 0.27168
}

Semantic roles & 50–950 ramp

primary
#AF6EFA
secondary
#E3F5CF
accent
#E6007B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AF6EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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