#AF6CF7#AF6CF7

#AF6CF7 is a light, highly saturated violet. Relative luminance 0.266; OKLCH L 66.5% C 0.203 H 303.6°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#AF6CF7
RGBrgb(175, 108, 247)
HSLhsl(269, 90%, 70%)
HSVhsv(269, 56%, 97%)
CMYKcmyk(29.1%, 56.3%, 0%, 3.1%)
CIE-LABlab(58.56, 52.77, -59.84)
CIE-LCHlch(58.56, 79.79, 311.41°)
OKLaboklab(66.51% 0.1123 -0.169)
OKLCHoklch(66.51% 0.203 303.6)
XYZxyz(39.8265, 26.5546, 91.0050)
Luminance0.2655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6CF7 #B4F76C
analogous
#6C6FF7 #AF6CF7 #F56CF7
triadic
#AF6CF7 #F7AF6C #6CF7AF
tetradic
#AF6CF7 #F76C6F #B4F76C #6CF7F5
square
#AF6CF7 #F76C6F #B4F76C #6CF7F5
split-complementary
#AF6CF7 #F7F56C #6FF76C
monochromatic
#710CDD #8F32F4 #AF6CF7 #CFA6FA #EEE0FD

Accessibility & contrast

On white

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

On black

6.31
#AF6CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6CF7
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6CF7#FFFFFF#000000##000000
##AF6CF71.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#338BFC
Deuteranopia (green-blind)
#4D8DF4
Tritanopia (blue-blind)
#A287A7
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af6cf7;
/* rgb */ color: rgb(175, 108, 247);
/* oklch */ color: oklch(66.5% 0.203 303.6);
Tailwind
colors: {
  custom: {
    50: '#cb98fa',
    500: '#af6cf7',
    950: '#000000',
  },
}
SCSS
$custom: #af6cf7;
$custom-light: #cb98fa;
$custom-dark: #000000;
JSON
{
  "hex": "#af6cf7",
  "rgb": {
    "r": 175,
    "g": 108,
    "b": 247
  },
  "hsl": {
    "h": 268.921,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6651,
    "c": 0.20289,
    "h": 303.6
  },
  "luminance": 0.26554
}

Semantic roles & 50–950 ramp

primary
#AF6CF7
secondary
#E0F3CC
accent
#E60077
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF6CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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