#AF6FDA#AF6FDA

#AF6FDA is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.3% C 0.165 H 310.2°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AF6FDA
RGBrgb(175, 111, 218)
HSLhsl(276, 59%, 65%)
HSVhsv(276, 49%, 85%)
CMYKcmyk(19.7%, 49.1%, 0%, 14.5%)
CIE-LABlab(57.60, 44.56, -45.18)
CIE-LCHlch(57.60, 63.46, 314.61°)
OKLaboklab(65.3% 0.1066 -0.1262)
OKLCHoklch(65.3% 0.165 310.2)
XYZxyz(36.0162, 25.5454, 69.3495)
Luminance0.2555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6FDA #9ADA6F
analogous
#7A6FDA #AF6FDA #DA6FCF
triadic
#AF6FDA #DAAF6F #6FDAAF
tetradic
#AF6FDA #DA7A6F #9ADA6F #6FCFDA
square
#AF6FDA #DA7A6F #9ADA6F #6FCFDA
split-complementary
#AF6FDA #CFDA6F #6FDA7A
monochromatic
#732AA4 #943ECD #AF6FDA #CAA0E7 #E5D0F3

Accessibility & contrast

On white

3.44
#AF6FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#AF6FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6FDA
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6FDA#FFFFFF#000000##000000
##AF6FDA1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5487DE
Deuteranopia (green-blind)
#678CD7
Tritanopia (blue-blind)
#AA819A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af6fda;
/* rgb */ color: rgb(175, 111, 218);
/* oklch */ color: oklch(65.3% 0.165 310.2);
Tailwind
colors: {
  custom: {
    50: '#c99ae6',
    500: '#af6fda',
    950: '#000000',
  },
}
SCSS
$custom: #af6fda;
$custom-light: #c99ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#af6fda",
  "rgb": {
    "r": 175,
    "g": 111,
    "b": 218
  },
  "hsl": {
    "h": 275.888,
    "s": 59.116,
    "l": 64.51
  },
  "oklch": {
    "l": 0.65297,
    "c": 0.16513,
    "h": 310.2
  },
  "luminance": 0.25545
}

Semantic roles & 50–950 ramp

primary
#AF6FDA
secondary
#CFE5C0
accent
#C71F62
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AF6FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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