#A07FF2#A07FF2

#A07FF2 is a light, vivid violet. Relative luminance 0.291; OKLCH L 67.8% C 0.166 H 294.8°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#A07FF2
RGBrgb(160, 127, 242)
HSLhsl(257, 82%, 72%)
HSVhsv(257, 48%, 95%)
CMYKcmyk(33.9%, 47.5%, 0%, 5.1%)
CIE-LABlab(60.84, 37.50, -53.53)
CIE-LCHlch(60.84, 65.36, 305.02°)
OKLaboklab(67.76% 0.0697 -0.1509)
OKLCHoklch(67.76% 0.166 294.8)
XYZxyz(38.1095, 29.0625, 87.5890)
Luminance0.2906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A07FF2 #D1F27F
analogous
#7F98F2 #A07FF2 #D97FF2
triadic
#A07FF2 #F2A07F #7FF2A0
tetradic
#A07FF2 #F27F98 #D1F27F #7FF2D9
square
#A07FF2 #F27F98 #D1F27F #7FF2D9
split-complementary
#A07FF2 #F2D97F #98F27F
monochromatic
#5017E0 #7747EC #A07FF2 #C9B7F8 #EAE3FC

Accessibility & contrast

On white

3.08
#A07FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#A07FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A07FF2
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A07FF2#FFFFFF#000000##000000
##A07FF21.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5794F6
Deuteranopia (green-blind)
#5D91EF
Tritanopia (blue-blind)
#8D95AD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a07ff2;
/* rgb */ color: rgb(160, 127, 242);
/* oklch */ color: oklch(67.8% 0.166 294.8);
Tailwind
colors: {
  custom: {
    50: '#bfa4f7',
    500: '#a07ff2',
    950: '#000000',
  },
}
SCSS
$custom: #a07ff2;
$custom-light: #bfa4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a07ff2",
  "rgb": {
    "r": 160,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 257.217,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67764,
    "c": 0.16626,
    "h": 294.8
  },
  "luminance": 0.29063
}

Semantic roles & 50–950 ramp

primary
#A07FF2
secondary
#ECF4D7
accent
#DE08A0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #A07FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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