#AF6DF3#AF6DF3

#AF6DF3 is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.4% C 0.197 H 304.3°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AF6DF3
RGBrgb(175, 109, 243)
HSLhsl(270, 85%, 69%)
HSVhsv(270, 55%, 95%)
CMYKcmyk(28%, 55.1%, 0%, 4.7%)
CIE-LABlab(58.53, 51.32, -57.67)
CIE-LCHlch(58.53, 77.20, 311.66°)
OKLaboklab(66.41% 0.1109 -0.1626)
OKLCHoklch(66.41% 0.197 304.3)
XYZxyz(39.3219, 26.5225, 87.8244)
Luminance0.2652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6DF3 #B1F36D
analogous
#6D6EF3 #AF6DF3 #F26DF3
triadic
#AF6DF3 #F3AF6D #6DF3AF
tetradic
#AF6DF3 #F36D6E #B1F36D #6DF3F2
square
#AF6DF3 #F36D6E #B1F36D #6DF3F2
split-complementary
#AF6DF3 #F3F26D #6EF36D
monochromatic
#7111D4 #9034EE #AF6DF3 #CEA6F8 #EDDEFC

Accessibility & contrast

On white

3.33
#AF6DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#AF6DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6DF3
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6DF3#FFFFFF#000000##000000
##AF6DF31.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8BF7
Deuteranopia (green-blind)
#528DF0
Tritanopia (blue-blind)
#A387A6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af6df3;
/* rgb */ color: rgb(175, 109, 243);
/* oklch */ color: oklch(66.4% 0.197 304.3);
Tailwind
colors: {
  custom: {
    50: '#ca99f8',
    500: '#af6df3',
    950: '#000000',
  },
}
SCSS
$custom: #af6df3;
$custom-light: #ca99f8;
$custom-dark: #000000;
JSON
{
  "hex": "#af6df3",
  "rgb": {
    "r": 175,
    "g": 109,
    "b": 243
  },
  "hsl": {
    "h": 269.552,
    "s": 84.81,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66414,
    "c": 0.19687,
    "h": 304.3
  },
  "luminance": 0.26522
}

Semantic roles & 50–950 ramp

primary
#AF6DF3
secondary
#DEF2CA
accent
#E10474
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF6DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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