#AF6FFE#AF6FFE

#AF6FFE is a light, highly saturated violet. Relative luminance 0.276; OKLCH L 67.4% C 0.207 H 301.8°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#AF6FFE
RGBrgb(175, 111, 254)
HSLhsl(267, 99%, 72%)
HSVhsv(267, 56%, 100%)
CMYKcmyk(31.1%, 56.3%, 0%, 0.4%)
CIE-LABlab(59.56, 52.86, -62.10)
CIE-LCHlch(59.56, 81.56, 310.40°)
OKLaboklab(67.38% 0.1087 -0.1756)
OKLCHoklch(67.38% 0.207 301.8)
XYZxyz(41.2489, 27.6385, 96.9084)
Luminance0.2764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6FFE #BEFE6F
analogous
#6F77FE #AF6FFE #F66FFE
triadic
#AF6FFE #FEAF6F #6FFEAF
tetradic
#AF6FFE #FE6F77 #BEFE6F #6FFEF6
square
#AF6FFE #FE6F77 #BEFE6F #6FFEF6
split-complementary
#AF6FFE #FEF66F #77FE6F
monochromatic
#6D02F1 #8D32FE #AF6FFE #D1ACFE #EEE1FF

Accessibility & contrast

On white

3.22
#AF6FFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#AF6FFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6FFE
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6FFE#FFFFFF#000000##000000
##AF6FFE1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#308EFF
Deuteranopia (green-blind)
#4A8FFB
Tritanopia (blue-blind)
#9F8CAC
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #af6ffe;
/* rgb */ color: rgb(175, 111, 254);
/* oklch */ color: oklch(67.4% 0.207 301.8);
Tailwind
colors: {
  custom: {
    50: '#cb9bff',
    500: '#af6ffe',
    950: '#000000',
  },
}
SCSS
$custom: #af6ffe;
$custom-light: #cb9bff;
$custom-dark: #000000;
JSON
{
  "hex": "#af6ffe",
  "rgb": {
    "r": 175,
    "g": 111,
    "b": 254
  },
  "hsl": {
    "h": 266.853,
    "s": 98.621,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67375,
    "c": 0.20657,
    "h": 301.8
  },
  "luminance": 0.27639
}

Semantic roles & 50–950 ramp

primary
#AF6FFE
secondary
#E6F7D2
accent
#E6007F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AF6FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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