#AF6EFD#AF6EFD

#AF6EFD is a light, highly saturated violet. Relative luminance 0.274; OKLCH L 67.2% C 0.207 H 302.1°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#AF6EFD
RGBrgb(175, 110, 253)
HSLhsl(267, 97%, 71%)
HSVhsv(267, 57%, 99%)
CMYKcmyk(30.8%, 56.5%, 0%, 0.8%)
CIE-LABlab(59.30, 53.15, -61.97)
CIE-LCHlch(59.30, 81.63, 310.62°)
OKLaboklab(67.17% 0.1099 -0.1752)
OKLCHoklch(67.17% 0.207 302.1)
XYZxyz(40.9807, 27.3576, 96.0310)
Luminance0.2736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6EFD #BCFD6E
analogous
#6E74FD #AF6EFD #F76EFD
triadic
#AF6EFD #FDAF6E #6EFDAF
tetradic
#AF6EFD #FD6E74 #BCFD6E #6EFDF7
square
#AF6EFD #FD6E74 #BCFD6E #6EFDF7
split-complementary
#AF6EFD #FDF76E #74FD6E
monochromatic
#6E03ED #8E32FC #AF6EFD #D0AAFE #EEE1FF

Accessibility & contrast

On white

3.24
#AF6EFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#AF6EFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6EFD
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6EFD#FFFFFF#000000##000000
##AF6EFD1.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8EFF
Deuteranopia (green-blind)
#4A8EFA
Tritanopia (blue-blind)
#A08BAB
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #af6efd;
/* rgb */ color: rgb(175, 110, 253);
/* oklch */ color: oklch(67.2% 0.207 302.1);
Tailwind
colors: {
  custom: {
    50: '#cb9aff',
    500: '#af6efd',
    950: '#000000',
  },
}
SCSS
$custom: #af6efd;
$custom-light: #cb9aff;
$custom-dark: #000000;
JSON
{
  "hex": "#af6efd",
  "rgb": {
    "r": 175,
    "g": 110,
    "b": 253
  },
  "hsl": {
    "h": 267.273,
    "s": 97.279,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67168,
    "c": 0.20685,
    "h": 302.1
  },
  "luminance": 0.27358
}

Semantic roles & 50–950 ramp

primary
#AF6EFD
secondary
#E5F6D1
accent
#E6007D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AF6EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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