#AF48E9#AF48E9

#AF48E9 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 61.1% C 0.236 H 310.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AF48E9
RGBrgb(175, 72, 233)
HSLhsl(278, 79%, 60%)
HSVhsv(278, 69%, 91%)
CMYKcmyk(24.9%, 69.1%, 0%, 8.6%)
CIE-LABlab(51.42, 66.76, -63.50)
CIE-LCHlch(51.42, 92.14, 316.43°)
OKLaboklab(61.07% 0.1536 -0.1796)
OKLCHoklch(61.07% 0.236 310.5)
XYZxyz(34.7017, 19.6327, 79.0364)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF48E9 #82E948
analogous
#5E48E9 #AF48E9 #E948D3
triadic
#AF48E9 #E9AF48 #48E9AF
tetradic
#AF48E9 #E95E48 #82E948 #48D3E9
square
#AF48E9 #E95E48 #82E948 #48D3E9
split-complementary
#AF48E9 #D3E948 #48E95E
monochromatic
#6F14A3 #951ADA #AF48E9 #C77FF0 #DFB5F6

Accessibility & contrast

On white

4.26
#AF48E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#AF48E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF48E9
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF48E9#FFFFFF#000000##000000
##AF48E91.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EE
Deuteranopia (green-blind)
#2E7CE5
Tritanopia (blue-blind)
#A76B94
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #af48e9;
/* rgb */ color: rgb(175, 72, 233);
/* oklch */ color: oklch(61.1% 0.236 310.5);
Tailwind
colors: {
  custom: {
    50: '#cc83f1',
    500: '#af48e9',
    950: '#000000',
  },
}
SCSS
$custom: #af48e9;
$custom-light: #cc83f1;
$custom-dark: #000000;
JSON
{
  "hex": "#af48e9",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 233
  },
  "hsl": {
    "h": 278.385,
    "s": 78.537,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61067,
    "c": 0.23632,
    "h": 310.5
  },
  "luminance": 0.19632
}

Semantic roles & 50–950 ramp

primary
#AF48E9
secondary
#BEE6A7
accent
#F53379
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #AF48E9

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

Preview Lab → · Contrast checker → · Palette generator →

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