#A07DF2#A07DF2

#A07DF2 is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.4% C 0.169 H 295.3°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#A07DF2
RGBrgb(160, 125, 242)
HSLhsl(258, 82%, 72%)
HSVhsv(258, 48%, 95%)
CMYKcmyk(33.9%, 48.3%, 0%, 5.1%)
CIE-LABlab(60.38, 38.63, -54.25)
CIE-LCHlch(60.38, 66.60, 305.45°)
OKLaboklab(67.43% 0.0723 -0.153)
OKLCHoklch(67.43% 0.169 295.3)
XYZxyz(37.8538, 28.5510, 87.5037)
Luminance0.2855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A07DF2 #CFF27D
analogous
#7D95F2 #A07DF2 #DB7DF2
triadic
#A07DF2 #F2A07D #7DF2A0
tetradic
#A07DF2 #F27D95 #CFF27D #7DF2DB
square
#A07DF2 #F27D95 #CFF27D #7DF2DB
split-complementary
#A07DF2 #F2DB7D #95F27D
monochromatic
#5216DE #7745EC #A07DF2 #C9B5F8 #EBE3FC

Accessibility & contrast

On white

3.13
#A07DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#A07DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A07DF2
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A07DF2#FFFFFF#000000##000000
##A07DF21.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5392F6
Deuteranopia (green-blind)
#5A90EF
Tritanopia (blue-blind)
#8D94AC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a07df2;
/* rgb */ color: rgb(160, 125, 242);
/* oklch */ color: oklch(67.4% 0.169 295.3);
Tailwind
colors: {
  custom: {
    50: '#bfa3f7',
    500: '#a07df2',
    950: '#000000',
  },
}
SCSS
$custom: #a07df2;
$custom-light: #bfa3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a07df2",
  "rgb": {
    "r": 160,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 257.949,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67425,
    "c": 0.16926,
    "h": 295.3
  },
  "luminance": 0.28552
}

Semantic roles & 50–950 ramp

primary
#A07DF2
secondary
#EBF4D7
accent
#DE079E
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A07DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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