#AF6EFC#AF6EFC

#AF6EFC is a light, highly saturated violet. Relative luminance 0.273; OKLCH L 67.1% C 0.206 H 302.3°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#AF6EFC
RGBrgb(175, 110, 252)
HSLhsl(267, 96%, 71%)
HSVhsv(267, 56%, 99%)
CMYKcmyk(30.6%, 56.3%, 0%, 1.2%)
CIE-LABlab(59.25, 52.91, -61.51)
CIE-LCHlch(59.25, 81.13, 310.70°)
OKLaboklab(67.11% 0.1099 -0.1739)
OKLCHoklch(67.11% 0.206 302.3)
XYZxyz(40.8218, 27.2940, 95.1942)
Luminance0.2729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6EFC #BBFC6E
analogous
#6E74FC #AF6EFC #F66EFC
triadic
#AF6EFC #FCAF6E #6EFCAF
tetradic
#AF6EFC #FC6E74 #BBFC6E #6EFCF6
square
#AF6EFC #FC6E74 #BBFC6E #6EFCF6
split-complementary
#AF6EFC #FCF66E #74FC6E
monochromatic
#6E05EB #8E32FB #AF6EFC #D0AAFD #EEE1FE

Accessibility & contrast

On white

3.25
#AF6EFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#AF6EFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6EFC
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6EFC#FFFFFF#000000##000000
##AF6EFC1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#308DFF
Deuteranopia (green-blind)
#4B8EF9
Tritanopia (blue-blind)
#A08AAB
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #af6efc;
/* rgb */ color: rgb(175, 110, 252);
/* oklch */ color: oklch(67.1% 0.206 302.3);
Tailwind
colors: {
  custom: {
    50: '#cb9afe',
    500: '#af6efc',
    950: '#000000',
  },
}
SCSS
$custom: #af6efc;
$custom-light: #cb9afe;
$custom-dark: #000000;
JSON
{
  "hex": "#af6efc",
  "rgb": {
    "r": 175,
    "g": 110,
    "b": 252
  },
  "hsl": {
    "h": 267.465,
    "s": 95.946,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67106,
    "c": 0.2057,
    "h": 302.3
  },
  "luminance": 0.27294
}

Semantic roles & 50–950 ramp

primary
#AF6EFC
secondary
#E4F6D0
accent
#E6007C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AF6EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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