#A07FEC#A07FEC

#A07FEC is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.4% C 0.159 H 295.8°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#A07FEC
RGBrgb(160, 127, 236)
HSLhsl(258, 74%, 71%)
HSVhsv(258, 46%, 93%)
CMYKcmyk(32.2%, 46.2%, 0%, 7.5%)
CIE-LABlab(60.52, 35.97, -50.70)
CIE-LCHlch(60.52, 62.17, 305.36°)
OKLaboklab(67.43% 0.069 -0.1427)
OKLCHoklch(67.43% 0.159 295.8)
XYZxyz(37.2231, 28.7079, 82.9207)
Luminance0.2871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A07FEC #CBEC7F
analogous
#7F94EC #A07FEC #D67FEC
triadic
#A07FEC #ECA07F #7FECA0
tetradic
#A07FEC #EC7F94 #CBEC7F #7FECD6
square
#A07FEC #EC7F94 #CBEC7F #7FECD6
split-complementary
#A07FEC #ECD67F #94EC7F
monochromatic
#551FD2 #784AE4 #A07FEC #C8B4F4 #EBE4FB

Accessibility & contrast

On white

3.11
#A07FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#A07FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A07FEC
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A07FEC#FFFFFF#000000##000000
##A07FEC1.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F0
Deuteranopia (green-blind)
#6190E9
Tritanopia (blue-blind)
#8F93AA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a07fec;
/* rgb */ color: rgb(160, 127, 236);
/* oklch */ color: oklch(67.4% 0.159 295.8);
Tailwind
colors: {
  custom: {
    50: '#bfa4f2',
    500: '#a07fec',
    950: '#000000',
  },
}
SCSS
$custom: #a07fec;
$custom-light: #bfa4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a07fec",
  "rgb": {
    "r": 160,
    "g": 127,
    "b": 236
  },
  "hsl": {
    "h": 258.165,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67427,
    "c": 0.1585,
    "h": 295.8
  },
  "luminance": 0.28708
}

Semantic roles & 50–950 ramp

primary
#A07FEC
secondary
#E9F2D5
accent
#D60F9A
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #A07FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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