#AF6BFC#AF6BFC

#AF6BFC is a light, highly saturated violet. Relative luminance 0.267; OKLCH L 66.7% C 0.210 H 302.7°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#AF6BFC
RGBrgb(175, 107, 252)
HSLhsl(268, 96%, 70%)
HSVhsv(268, 58%, 99%)
CMYKcmyk(30.6%, 57.5%, 0%, 1.2%)
CIE-LABlab(58.66, 54.47, -62.45)
CIE-LCHlch(58.66, 82.87, 311.09°)
OKLaboklab(66.68% 0.1135 -0.1766)
OKLCHoklch(66.68% 0.21 302.7)
XYZxyz(40.5036, 26.6576, 95.0882)
Luminance0.2666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6BFC #B8FC6B
analogous
#6B6FFC #AF6BFC #F76BFC
triadic
#AF6BFC #FCAF6B #6BFCAF
tetradic
#AF6BFC #FC6B6F #B8FC6B #6BFCF7
square
#AF6BFC #FC6B6F #B8FC6B #6BFCF7
split-complementary
#AF6BFC #FCF76B #6FFC6B
monochromatic
#6F05E8 #8F2FFB #AF6BFC #CFA7FD #EFE1FE

Accessibility & contrast

On white

3.32
#AF6BFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#AF6BFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6BFC
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6BFC#FFFFFF#000000##000000
##AF6BFC1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#278CFF
Deuteranopia (green-blind)
#468DF9
Tritanopia (blue-blind)
#A088AA
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af6bfc;
/* rgb */ color: rgb(175, 107, 252);
/* oklch */ color: oklch(66.7% 0.210 302.7);
Tailwind
colors: {
  custom: {
    50: '#cb98fe',
    500: '#af6bfc',
    950: '#000000',
  },
}
SCSS
$custom: #af6bfc;
$custom-light: #cb98fe;
$custom-dark: #000000;
JSON
{
  "hex": "#af6bfc",
  "rgb": {
    "r": 175,
    "g": 107,
    "b": 252
  },
  "hsl": {
    "h": 268.138,
    "s": 96.026,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66675,
    "c": 0.20997,
    "h": 302.7
  },
  "luminance": 0.26658
}

Semantic roles & 50–950 ramp

primary
#AF6BFC
secondary
#E3F5CE
accent
#E6007A
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AF6BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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