#AF6FF1#AF6FF1

#AF6FF1 is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.6% C 0.192 H 304.4°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#AF6FF1
RGBrgb(175, 111, 241)
HSLhsl(270, 82%, 69%)
HSVhsv(270, 54%, 95%)
CMYKcmyk(27.4%, 53.9%, 0%, 5.5%)
CIE-LABlab(58.82, 49.80, -56.10)
CIE-LCHlch(58.82, 75.01, 311.59°)
OKLaboklab(66.59% 0.1084 -0.158)
OKLCHoklch(66.59% 0.192 304.4)
XYZxyz(39.2374, 26.8339, 86.3144)
Luminance0.2683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6FF1 #B1F16F
analogous
#6F70F1 #AF6FF1 #F06FF1
triadic
#AF6FF1 #F1AF6F #6FF1AF
tetradic
#AF6FF1 #F16F70 #B1F16F #6FF1F0
square
#AF6FF1 #F16F70 #B1F16F #6FF1F0
split-complementary
#AF6FF1 #F1F06F #70F16F
monochromatic
#7114D1 #9037EC #AF6FF1 #CEA7F6 #EDDFFC

Accessibility & contrast

On white

3.30
#AF6FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#AF6FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6FF1
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6FF1#FFFFFF#000000##000000
##AF6FF11.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#418CF5
Deuteranopia (green-blind)
#568EEE
Tritanopia (blue-blind)
#A487A6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af6ff1;
/* rgb */ color: rgb(175, 111, 241);
/* oklch */ color: oklch(66.6% 0.192 304.4);
Tailwind
colors: {
  custom: {
    50: '#ca9af6',
    500: '#af6ff1',
    950: '#000000',
  },
}
SCSS
$custom: #af6ff1;
$custom-light: #ca9af6;
$custom-dark: #000000;
JSON
{
  "hex": "#af6ff1",
  "rgb": {
    "r": 175,
    "g": 111,
    "b": 241
  },
  "hsl": {
    "h": 269.538,
    "s": 82.278,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66592,
    "c": 0.19162,
    "h": 304.4
  },
  "luminance": 0.26834
}

Semantic roles & 50–950 ramp

primary
#AF6FF1
secondary
#DEF1CB
accent
#DF0774
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF6FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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