#A282F5#A282F5

#A282F5 is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.6% C 0.166 H 294.4°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#A282F5
RGBrgb(162, 130, 245)
HSLhsl(257, 85%, 74%)
HSVhsv(257, 47%, 96%)
CMYKcmyk(33.9%, 46.9%, 0%, 3.9%)
CIE-LABlab(61.86, 37.08, -53.55)
CIE-LCHlch(61.86, 65.14, 304.70°)
OKLaboklab(68.63% 0.0686 -0.1509)
OKLCHoklch(68.63% 0.166 294.4)
XYZxyz(39.3602, 30.2385, 90.1314)
Luminance0.3024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A282F5 #D5F582
analogous
#829BF5 #A282F5 #DC82F5
triadic
#A282F5 #F5A282 #82F5A2
tetradic
#A282F5 #F5829B #D5F582 #82F5DC
square
#A282F5 #F5829B #D5F582 #82F5DC
split-complementary
#A282F5 #F5DC82 #9BF582
monochromatic
#4F13EA #7849F0 #A282F5 #CCBBFA #EAE3FD

Accessibility & contrast

On white

2.98
#A282F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#A282F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A282F5
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A282F5#FFFFFF#000000##000000
##A282F51.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A97F9
Deuteranopia (green-blind)
#6094F2
Tritanopia (blue-blind)
#8F98B0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a282f5;
/* rgb */ color: rgb(162, 130, 245);
/* oklch */ color: oklch(68.6% 0.166 294.4);
Tailwind
colors: {
  custom: {
    50: '#c1a7f9',
    500: '#a282f5',
    950: '#000000',
  },
}
SCSS
$custom: #a282f5;
$custom-light: #c1a7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a282f5",
  "rgb": {
    "r": 162,
    "g": 130,
    "b": 245
  },
  "hsl": {
    "h": 256.696,
    "s": 85.185,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68625,
    "c": 0.1658,
    "h": 294.4
  },
  "luminance": 0.30239
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A282F5

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

Preview Lab → · Contrast checker → · Palette generator →

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