#AF6FFB#AF6FFB

#AF6FFB is a light, highly saturated violet. Relative luminance 0.274; OKLCH L 67.2% C 0.203 H 302.3°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#AF6FFB
RGBrgb(175, 111, 251)
HSLhsl(267, 95%, 71%)
HSVhsv(267, 56%, 98%)
CMYKcmyk(30.3%, 55.8%, 0%, 1.6%)
CIE-LABlab(59.39, 52.15, -60.73)
CIE-LCHlch(59.39, 80.05, 310.65°)
OKLaboklab(67.19% 0.1087 -0.1716)
OKLCHoklch(67.19% 0.203 302.3)
XYZxyz(40.7722, 27.4478, 94.3980)
Luminance0.2745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6FFB #BBFB6F
analogous
#6F75FB #AF6FFB #F56FFB
triadic
#AF6FFB #FBAF6F #6FFBAF
tetradic
#AF6FFB #FB6F75 #BBFB6F #6FFBF5
square
#AF6FFB #FB6F75 #BBFB6F #6FFBF5
split-complementary
#AF6FFB #FBF56F #75FB6F
monochromatic
#6E06E9 #8E33F9 #AF6FFB #D0ABFD #EEE1FE

Accessibility & contrast

On white

3.24
#AF6FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#AF6FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6FFB
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6FFB#FFFFFF#000000##000000
##AF6FFB1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#358EFF
Deuteranopia (green-blind)
#4D8FF8
Tritanopia (blue-blind)
#A08BAB
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #af6ffb;
/* rgb */ color: rgb(175, 111, 251);
/* oklch */ color: oklch(67.2% 0.203 302.3);
Tailwind
colors: {
  custom: {
    50: '#cb9afd',
    500: '#af6ffb',
    950: '#000000',
  },
}
SCSS
$custom: #af6ffb;
$custom-light: #cb9afd;
$custom-dark: #000000;
JSON
{
  "hex": "#af6ffb",
  "rgb": {
    "r": 175,
    "g": 111,
    "b": 251
  },
  "hsl": {
    "h": 267.429,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67191,
    "c": 0.20312,
    "h": 302.3
  },
  "luminance": 0.27448
}

Semantic roles & 50–950 ramp

primary
#AF6FFB
secondary
#E4F6D0
accent
#E6007D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AF6FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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