#AF43EA#AF43EA

#AF43EA is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.6% C 0.243 H 310.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AF43EA
RGBrgb(175, 67, 234)
HSLhsl(279, 80%, 59%)
HSVhsv(279, 71%, 92%)
CMYKcmyk(25.2%, 71.4%, 0%, 8.2%)
CIE-LABlab(50.77, 68.99, -65.12)
CIE-LCHlch(50.77, 94.87, 316.65°)
OKLaboklab(60.62% 0.1584 -0.1843)
OKLCHoklch(60.62% 0.243 310.7)
XYZxyz(34.5348, 19.0696, 79.6875)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF43EA #7EEA43
analogous
#5C43EA #AF43EA #EA43D2
triadic
#AF43EA #EAAF43 #43EAAF
tetradic
#AF43EA #EA5C43 #7EEA43 #43D2EA
square
#AF43EA #EA5C43 #7EEA43 #43D2EA
split-complementary
#AF43EA #D2EA43 #43EA5C
monochromatic
#6E12A1 #9418D8 #AF43EA #C67AF0 #DEB1F6

Accessibility & contrast

On white

4.36
#AF43EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#AF43EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF43EA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF43EA#FFFFFF#000000##000000
##AF43EA1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EF
Deuteranopia (green-blind)
#257BE6
Tritanopia (blue-blind)
#A76993
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #af43ea;
/* rgb */ color: rgb(175, 67, 234);
/* oklch */ color: oklch(60.6% 0.243 310.7);
Tailwind
colors: {
  custom: {
    50: '#cc80f2',
    500: '#af43ea',
    950: '#000000',
  },
}
SCSS
$custom: #af43ea;
$custom-light: #cc80f2;
$custom-dark: #000000;
JSON
{
  "hex": "#af43ea",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 234
  },
  "hsl": {
    "h": 278.802,
    "s": 79.904,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60625,
    "c": 0.24299,
    "h": 310.7
  },
  "luminance": 0.19069
}

Semantic roles & 50–950 ramp

primary
#AF43EA
secondary
#BBE5A4
accent
#F63177
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #AF43EA

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

Preview Lab → · Contrast checker → · Palette generator →

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