#AF6DFF#AF6DFF

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

Color values

HEX#AF6DFF
RGBrgb(175, 109, 255)
HSLhsl(267, 100%, 71%)
HSVhsv(267, 57%, 100%)
CMYKcmyk(31.4%, 57.3%, 0%, 0%)
CIE-LABlab(59.22, 54.14, -63.20)
CIE-LCHlch(59.22, 83.22, 310.59°)
OKLaboklab(67.15% 0.1111 -0.1788)
OKLCHoklch(67.15% 0.211 301.9)
XYZxyz(41.1936, 27.2711, 97.6820)
Luminance0.2727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6DFF #BDFF6D
analogous
#6D74FF #AF6DFF #F86DFF
triadic
#AF6DFF #FFAF6D #6DFFAF
tetradic
#AF6DFF #FF6D74 #BDFF6D #6DFFF8
square
#AF6DFF #FF6D74 #BDFF6D #6DFFF8
split-complementary
#AF6DFF #FFF86D #74FF6D
monochromatic
#6D00F2 #8D30FF #AF6DFF #D1AAFF #EEE0FF

Accessibility & contrast

On white

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

On black

6.45
#AF6DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6DFF
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6DFF#FFFFFF#000000##000000
##AF6DFF1.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#288EFF
Deuteranopia (green-blind)
#468EFC
Tritanopia (blue-blind)
#9F8BAC
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #af6dff;
/* rgb */ color: rgb(175, 109, 255);
/* oklch */ color: oklch(67.1% 0.211 301.9);
Tailwind
colors: {
  custom: {
    50: '#cb99ff',
    500: '#af6dff',
    950: '#000000',
  },
}
SCSS
$custom: #af6dff;
$custom-light: #cb99ff;
$custom-dark: #000000;
JSON
{
  "hex": "#af6dff",
  "rgb": {
    "r": 175,
    "g": 109,
    "b": 255
  },
  "hsl": {
    "h": 267.123,
    "s": 100,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67148,
    "c": 0.21055,
    "h": 301.9
  },
  "luminance": 0.27271
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF6DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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