#AF6BF4#AF6BF4

#AF6BF4 is a light, highly saturated violet. Relative luminance 0.262; OKLCH L 66.2% C 0.201 H 304.4°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AF6BF4
RGBrgb(175, 107, 244)
HSLhsl(270, 86%, 69%)
HSVhsv(270, 56%, 96%)
CMYKcmyk(28.3%, 56.1%, 0%, 4.3%)
CIE-LABlab(58.19, 52.59, -58.77)
CIE-LCHlch(58.19, 78.87, 311.82°)
OKLaboklab(66.18% 0.1134 -0.1659)
OKLCHoklch(66.18% 0.201 304.4)
XYZxyz(39.2624, 26.1612, 88.5516)
Luminance0.2616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6BF4 #B0F46B
analogous
#6B6CF4 #AF6BF4 #F46BF4
triadic
#AF6BF4 #F4AF6B #6BF4AF
tetradic
#AF6BF4 #F46B6C #B0F46B #6BF4F4
square
#AF6BF4 #F46B6C #B0F46B #6BF4F4
split-complementary
#AF6BF4 #F4F46B #6CF46B
monochromatic
#7210D5 #9032F0 #AF6BF4 #CEA4F8 #EDDDFC

Accessibility & contrast

On white

3.37
#AF6BF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#AF6BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6BF4
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6BF4#FFFFFF#000000##000000
##AF6BF41.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#348AF8
Deuteranopia (green-blind)
#4F8CF1
Tritanopia (blue-blind)
#A386A5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #af6bf4;
/* rgb */ color: rgb(175, 107, 244);
/* oklch */ color: oklch(66.2% 0.201 304.4);
Tailwind
colors: {
  custom: {
    50: '#ca98f8',
    500: '#af6bf4',
    950: '#000000',
  },
}
SCSS
$custom: #af6bf4;
$custom-light: #ca98f8;
$custom-dark: #000000;
JSON
{
  "hex": "#af6bf4",
  "rgb": {
    "r": 175,
    "g": 107,
    "b": 244
  },
  "hsl": {
    "h": 269.781,
    "s": 86.164,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66183,
    "c": 0.20094,
    "h": 304.4
  },
  "luminance": 0.26161
}

Semantic roles & 50–950 ramp

primary
#AF6BF4
secondary
#DEF2C9
accent
#E30374
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF6BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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