#A84FEC#A84FEC

#A84FEC is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.2% C 0.229 H 306.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A84FEC
RGBrgb(168, 79, 236)
HSLhsl(274, 81%, 62%)
HSVhsv(274, 67%, 93%)
CMYKcmyk(28.8%, 66.5%, 0%, 7.5%)
CIE-LABlab(51.81, 62.95, -64.61)
CIE-LCHlch(51.81, 90.20, 314.25°)
OKLaboklab(61.22% 0.1372 -0.1831)
OKLCHoklch(61.22% 0.229 306.8)
XYZxyz(34.0815, 19.9733, 81.4004)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A84FEC #93EC4F
analogous
#5A4FEC #A84FEC #EC4FE1
triadic
#A84FEC #ECA84F #4FECA8
tetradic
#A84FEC #EC5A4F #93EC4F #4FE1EC
square
#A84FEC #EC5A4F #93EC4F #4FE1EC
split-complementary
#A84FEC #E1EC4F #4FEC5A
monochromatic
#6B13AE #8D19E5 #A84FEC #C386F2 #DFBDF8

Accessibility & contrast

On white

4.20
#A84FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#A84FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A84FEC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A84FEC#FFFFFF#000000##000000
##A84FEC1.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#277CE9
Tritanopia (blue-blind)
#9D7197
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a84fec;
/* rgb */ color: rgb(168, 79, 236);
/* oklch */ color: oklch(61.2% 0.229 306.8);
Tailwind
colors: {
  custom: {
    50: '#c786f3',
    500: '#a84fec',
    950: '#000000',
  },
}
SCSS
$custom: #a84fec;
$custom-light: #c786f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a84fec",
  "rgb": {
    "r": 168,
    "g": 79,
    "b": 236
  },
  "hsl": {
    "h": 274.013,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61216,
    "c": 0.22878,
    "h": 306.8
  },
  "luminance": 0.19973
}

Semantic roles & 50–950 ramp

primary
#A84FEC
secondary
#C8E8AE
accent
#DD0965
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #A84FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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