#AF4FF5#AF4FF5

#AF4FF5 is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.6% C 0.240 H 307.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AF4FF5
RGBrgb(175, 79, 245)
HSLhsl(275, 89%, 64%)
HSVhsv(275, 68%, 96%)
CMYKcmyk(28.6%, 67.8%, 0%, 3.9%)
CIE-LABlab(53.28, 66.33, -67.23)
CIE-LCHlch(53.28, 94.44, 314.61°)
OKLaboklab(62.64% 0.1451 -0.1906)
OKLCHoklch(62.64% 0.24 307.3)
XYZxyz(36.9531, 21.2990, 88.5329)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4FF5 #95F54F
analogous
#5C4FF5 #AF4FF5 #F54FE8
triadic
#AF4FF5 #F5AF4F #4FF5AF
tetradic
#AF4FF5 #F55C4F #95F54F #4FE8F5
square
#AF4FF5 #F55C4F #95F54F #4FE8F5
split-complementary
#AF4FF5 #E8F54F #4FF55C
monochromatic
#730BBF #9515F2 #AF4FF5 #C989F8 #E4C3FC

Accessibility & contrast

On white

3.99
#AF4FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#AF4FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4FF5
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4FF5#FFFFFF#000000##000000
##AF4FF51.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFA
Deuteranopia (green-blind)
#2380F1
Tritanopia (blue-blind)
#A4749C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #af4ff5;
/* rgb */ color: rgb(175, 79, 245);
/* oklch */ color: oklch(62.6% 0.240 307.3);
Tailwind
colors: {
  custom: {
    50: '#cc87f9',
    500: '#af4ff5',
    950: '#000000',
  },
}
SCSS
$custom: #af4ff5;
$custom-light: #cc87f9;
$custom-dark: #000000;
JSON
{
  "hex": "#af4ff5",
  "rgb": {
    "r": 175,
    "g": 79,
    "b": 245
  },
  "hsl": {
    "h": 274.699,
    "s": 89.247,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62643,
    "c": 0.23955,
    "h": 307.3
  },
  "luminance": 0.21298
}

Semantic roles & 50–950 ramp

primary
#AF4FF5
secondary
#CBEDB2
accent
#E60061
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #AF4FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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