#A282F9#A282F9

#A282F9 is a light, vivid violet. Relative luminance 0.305; OKLCH L 68.9% C 0.171 H 293.8°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#A282F9
RGBrgb(162, 130, 249)
HSLhsl(256, 91%, 74%)
HSVhsv(256, 48%, 98%)
CMYKcmyk(34.9%, 47.8%, 0%, 2.4%)
CIE-LABlab(62.07, 38.11, -55.41)
CIE-LCHlch(62.07, 67.26, 304.52°)
OKLaboklab(68.85% 0.069 -0.1564)
OKLCHoklch(68.85% 0.171 293.8)
XYZxyz(39.9774, 30.4854, 93.3822)
Luminance0.3049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A282F9 #D9F982
analogous
#829EF9 #A282F9 #DD82F9
triadic
#A282F9 #F9A282 #82F9A2
tetradic
#A282F9 #F9829E #D9F982 #82F9DD
square
#A282F9 #F9829E #D9F982 #82F9DD
split-complementary
#A282F9 #F9DD82 #9EF982
monochromatic
#4B0DF3 #7748F6 #A282F9 #CDBCFC #E9E2FE

Accessibility & contrast

On white

2.96
#A282F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#A282F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A282F9
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A282F9#FFFFFF#000000##000000
##A282F91.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5797FD
Deuteranopia (green-blind)
#5D94F6
Tritanopia (blue-blind)
#8D99B2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a282f9;
/* rgb */ color: rgb(162, 130, 249);
/* oklch */ color: oklch(68.9% 0.171 293.8);
Tailwind
colors: {
  custom: {
    50: '#c1a7fc',
    500: '#a282f9',
    950: '#000000',
  },
}
SCSS
$custom: #a282f9;
$custom-light: #c1a7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a282f9",
  "rgb": {
    "r": 162,
    "g": 130,
    "b": 249
  },
  "hsl": {
    "h": 256.134,
    "s": 90.84,
    "l": 74.314
  },
  "oklch": {
    "l": 0.68852,
    "c": 0.17096,
    "h": 293.8
  },
  "luminance": 0.30486
}

Semantic roles & 50–950 ramp

primary
#A282F9
secondary
#EDF6D5
accent
#E600A8
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A282F9

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

Preview Lab → · Contrast checker → · Palette generator →

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