#AF6FFC#AF6FFC

#AF6FFC is a light, highly saturated violet. Relative luminance 0.275; OKLCH L 67.3% C 0.204 H 302.1°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#AF6FFC
RGBrgb(175, 111, 252)
HSLhsl(267, 96%, 71%)
HSVhsv(267, 56%, 99%)
CMYKcmyk(30.6%, 56%, 0%, 1.2%)
CIE-LABlab(59.44, 52.39, -61.19)
CIE-LCHlch(59.44, 80.55, 310.57°)
OKLaboklab(67.25% 0.1087 -0.1729)
OKLCHoklch(67.25% 0.204 302.1)
XYZxyz(40.9303, 27.5110, 95.2304)
Luminance0.2751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6FFC #BCFC6F
analogous
#6F75FC #AF6FFC #F56FFC
triadic
#AF6FFC #FCAF6F #6FFCAF
tetradic
#AF6FFC #FC6F75 #BCFC6F #6FFCF5
square
#AF6FFC #FC6F75 #BCFC6F #6FFCF5
split-complementary
#AF6FFC #FCF56F #75FC6F
monochromatic
#6E05EC #8E33FB #AF6FFC #D0ABFD #EEE1FE

Accessibility & contrast

On white

3.23
#AF6FFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#AF6FFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6FFC
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6FFC#FFFFFF#000000##000000
##AF6FFC1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#338EFF
Deuteranopia (green-blind)
#4C8FF9
Tritanopia (blue-blind)
#A08BAB
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #af6ffc;
/* rgb */ color: rgb(175, 111, 252);
/* oklch */ color: oklch(67.3% 0.204 302.1);
Tailwind
colors: {
  custom: {
    50: '#cb9afe',
    500: '#af6ffc',
    950: '#000000',
  },
}
SCSS
$custom: #af6ffc;
$custom-light: #cb9afe;
$custom-dark: #000000;
JSON
{
  "hex": "#af6ffc",
  "rgb": {
    "r": 175,
    "g": 111,
    "b": 252
  },
  "hsl": {
    "h": 267.234,
    "s": 95.918,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67252,
    "c": 0.20427,
    "h": 302.1
  },
  "luminance": 0.27511
}

Semantic roles & 50–950 ramp

primary
#AF6FFC
secondary
#E5F6D1
accent
#E6007D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AF6FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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