#AF6FF3#AF6FF3

#AF6FF3 is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.7% C 0.194 H 304.0°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#AF6FF3
RGBrgb(175, 111, 243)
HSLhsl(269, 85%, 69%)
HSVhsv(269, 54%, 95%)
CMYKcmyk(28%, 54.3%, 0%, 4.7%)
CIE-LABlab(58.93, 50.26, -57.03)
CIE-LCHlch(58.93, 76.02, 311.39°)
OKLaboklab(66.71% 0.1085 -0.1608)
OKLCHoklch(66.71% 0.194 304)
XYZxyz(39.5377, 26.9540, 87.8964)
Luminance0.2695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6FF3 #B3F36F
analogous
#6F71F3 #AF6FF3 #F16FF3
triadic
#AF6FF3 #F3AF6F #6FF3AF
tetradic
#AF6FF3 #F36F71 #B3F36F #6FF3F1
square
#AF6FF3 #F36F71 #B3F36F #6FF3F1
split-complementary
#AF6FF3 #F3F16F #71F36F
monochromatic
#7112D6 #9037EE #AF6FF3 #CEA7F8 #EEE0FC

Accessibility & contrast

On white

3.29
#AF6FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#AF6FF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6FF3
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6FF3#FFFFFF#000000##000000
##AF6FF31.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8CF7
Deuteranopia (green-blind)
#558EF0
Tritanopia (blue-blind)
#A388A7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #af6ff3;
/* rgb */ color: rgb(175, 111, 243);
/* oklch */ color: oklch(66.7% 0.194 304.0);
Tailwind
colors: {
  custom: {
    50: '#ca9af8',
    500: '#af6ff3',
    950: '#000000',
  },
}
SCSS
$custom: #af6ff3;
$custom-light: #ca9af8;
$custom-dark: #000000;
JSON
{
  "hex": "#af6ff3",
  "rgb": {
    "r": 175,
    "g": 111,
    "b": 243
  },
  "hsl": {
    "h": 269.091,
    "s": 84.615,
    "l": 69.412
  },
  "oklch": {
    "l": 0.6671,
    "c": 0.19392,
    "h": 304
  },
  "luminance": 0.26954
}

Semantic roles & 50–950 ramp

primary
#AF6FF3
secondary
#DFF2CC
accent
#E10476
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF6FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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