#A282F6#A282F6

#A282F6 is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.7% C 0.167 H 294.3°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#A282F6
RGBrgb(162, 130, 246)
HSLhsl(257, 87%, 74%)
HSVhsv(257, 47%, 96%)
CMYKcmyk(34.1%, 47.2%, 0%, 3.5%)
CIE-LABlab(61.91, 37.34, -54.02)
CIE-LCHlch(61.91, 65.67, 304.66°)
OKLaboklab(68.68% 0.0687 -0.1523)
OKLCHoklch(68.68% 0.167 294.3)
XYZxyz(39.5132, 30.2997, 90.9375)
Luminance0.3030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A282F6 #D6F682
analogous
#829CF6 #A282F6 #DC82F6
triadic
#A282F6 #F6A282 #82F6A2
tetradic
#A282F6 #F6829C #D6F682 #82F6DC
square
#A282F6 #F6829C #D6F682 #82F6DC
split-complementary
#A282F6 #F6DC82 #9CF682
monochromatic
#4E11ED #7849F2 #A282F6 #CCBBFA #EAE2FD

Accessibility & contrast

On white

2.97
#A282F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#A282F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A282F6
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A282F6#FFFFFF#000000##000000
##A282F61.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A97FA
Deuteranopia (green-blind)
#5F94F3
Tritanopia (blue-blind)
#8E98B0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a282f6;
/* rgb */ color: rgb(162, 130, 246);
/* oklch */ color: oklch(68.7% 0.167 294.3);
Tailwind
colors: {
  custom: {
    50: '#c1a7fa',
    500: '#a282f6',
    950: '#000000',
  },
}
SCSS
$custom: #a282f6;
$custom-light: #c1a7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a282f6",
  "rgb": {
    "r": 162,
    "g": 130,
    "b": 246
  },
  "hsl": {
    "h": 256.552,
    "s": 86.567,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68681,
    "c": 0.1671,
    "h": 294.3
  },
  "luminance": 0.303
}

Semantic roles & 50–950 ramp

primary
#A282F6
secondary
#ECF5D6
accent
#E302A5
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A282F6

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

Preview Lab → · Contrast checker → · Palette generator →

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