#A94FEC#A94FEC

#A94FEC is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.3% C 0.229 H 307.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A94FEC
RGBrgb(169, 79, 236)
HSLhsl(274, 81%, 62%)
HSVhsv(274, 67%, 93%)
CMYKcmyk(28.4%, 66.5%, 0%, 7.5%)
CIE-LABlab(51.93, 63.15, -64.40)
CIE-LCHlch(51.93, 90.20, 314.44°)
OKLaboklab(61.33% 0.1384 -0.1825)
OKLCHoklch(61.33% 0.229 307.2)
XYZxyz(34.2953, 20.0835, 81.4104)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A94FEC #92EC4F
analogous
#5B4FEC #A94FEC #EC4FE1
triadic
#A94FEC #ECA94F #4FECA9
tetradic
#A94FEC #EC5B4F #92EC4F #4FE1EC
square
#A94FEC #EC5B4F #92EC4F #4FE1EC
split-complementary
#A94FEC #E1EC4F #4FEC5B
monochromatic
#6C13AE #8E19E5 #A94FEC #C486F2 #DFBDF8

Accessibility & contrast

On white

4.19
#A94FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#A94FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A94FEC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A94FEC#FFFFFF#000000##000000
##A94FEC1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#297DE9
Tritanopia (blue-blind)
#9E7197
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a94fec;
/* rgb */ color: rgb(169, 79, 236);
/* oklch */ color: oklch(61.3% 0.229 307.2);
Tailwind
colors: {
  custom: {
    50: '#c786f3',
    500: '#a94fec',
    950: '#000000',
  },
}
SCSS
$custom: #a94fec;
$custom-light: #c786f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a94fec",
  "rgb": {
    "r": 169,
    "g": 79,
    "b": 236
  },
  "hsl": {
    "h": 274.395,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61332,
    "c": 0.22904,
    "h": 307.2
  },
  "luminance": 0.20083
}

Semantic roles & 50–950 ramp

primary
#A94FEC
secondary
#C7E8AE
accent
#DD0963
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #A94FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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