#AF6FFD#AF6FFD

#AF6FFD is a light, highly saturated violet. Relative luminance 0.276; OKLCH L 67.3% C 0.205 H 302.0°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#AF6FFD
RGBrgb(175, 111, 253)
HSLhsl(267, 97%, 71%)
HSVhsv(267, 56%, 99%)
CMYKcmyk(30.8%, 56.1%, 0%, 0.8%)
CIE-LABlab(59.50, 52.62, -61.65)
CIE-LCHlch(59.50, 81.05, 310.49°)
OKLaboklab(67.31% 0.1087 -0.1743)
OKLCHoklch(67.31% 0.205 302)
XYZxyz(41.0892, 27.5746, 96.0672)
Luminance0.2757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6FFD #BDFD6F
analogous
#6F76FD #AF6FFD #F66FFD
triadic
#AF6FFD #FDAF6F #6FFDAF
tetradic
#AF6FFD #FD6F76 #BDFD6F #6FFDF6
square
#AF6FFD #FD6F76 #BDFD6F #6FFDF6
split-complementary
#AF6FFD #FDF66F #76FD6F
monochromatic
#6D03EE #8D33FC #AF6FFD #D1ABFE #EEE1FF

Accessibility & contrast

On white

3.22
#AF6FFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#AF6FFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6FFD
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6FFD#FFFFFF#000000##000000
##AF6FFD1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#328EFF
Deuteranopia (green-blind)
#4B8FFA
Tritanopia (blue-blind)
#A08BAC
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #af6ffd;
/* rgb */ color: rgb(175, 111, 253);
/* oklch */ color: oklch(67.3% 0.205 302.0);
Tailwind
colors: {
  custom: {
    50: '#cb9aff',
    500: '#af6ffd',
    950: '#000000',
  },
}
SCSS
$custom: #af6ffd;
$custom-light: #cb9aff;
$custom-dark: #000000;
JSON
{
  "hex": "#af6ffd",
  "rgb": {
    "r": 175,
    "g": 111,
    "b": 253
  },
  "hsl": {
    "h": 267.042,
    "s": 97.26,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67314,
    "c": 0.20542,
    "h": 302
  },
  "luminance": 0.27575
}

Semantic roles & 50–950 ramp

primary
#AF6FFD
secondary
#E6F6D1
accent
#E6007E
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AF6FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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