#AF59E3#AF59E3

#AF59E3 is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.7% C 0.208 H 310.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AF59E3
RGBrgb(175, 89, 227)
HSLhsl(277, 71%, 62%)
HSVhsv(277, 61%, 89%)
CMYKcmyk(22.9%, 60.8%, 0%, 11%)
CIE-LABlab(53.82, 57.82, -56.26)
CIE-LCHlch(53.82, 80.68, 315.78°)
OKLaboklab(62.68% 0.1353 -0.1584)
OKLCHoklch(62.68% 0.208 310.5)
XYZxyz(35.1141, 21.8055, 75.0173)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF59E3 #8DE359
analogous
#6A59E3 #AF59E3 #E359D2
triadic
#AF59E3 #E3AF59 #59E3AF
tetradic
#AF59E3 #E36A59 #8DE359 #59D2E3
square
#AF59E3 #E36A59 #8DE359 #59D2E3
split-complementary
#AF59E3 #D2E359 #59E36A
monochromatic
#721CA6 #9625DA #AF59E3 #C88DEC #E1C2F5

Accessibility & contrast

On white

3.92
#AF59E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#AF59E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF59E3
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF59E3#FFFFFF#000000##000000
##AF59E31.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E7DE7
Deuteranopia (green-blind)
#4A82E0
Tritanopia (blue-blind)
#A87396
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #af59e3;
/* rgb */ color: rgb(175, 89, 227);
/* oklch */ color: oklch(62.7% 0.208 310.5);
Tailwind
colors: {
  custom: {
    50: '#ca8cec',
    500: '#af59e3',
    950: '#000000',
  },
}
SCSS
$custom: #af59e3;
$custom-light: #ca8cec;
$custom-dark: #000000;
JSON
{
  "hex": "#af59e3",
  "rgb": {
    "r": 175,
    "g": 89,
    "b": 227
  },
  "hsl": {
    "h": 277.391,
    "s": 71.134,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62676,
    "c": 0.20833,
    "h": 310.5
  },
  "luminance": 0.21805
}

Semantic roles & 50–950 ramp

primary
#AF59E3
secondary
#C6E5B2
accent
#D3125B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF59E3

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

Preview Lab → · Contrast checker → · Palette generator →

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