#A282F7#A282F7

#A282F7 is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.7% C 0.168 H 294.1°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#A282F7
RGBrgb(162, 130, 247)
HSLhsl(256, 88%, 74%)
HSVhsv(256, 47%, 97%)
CMYKcmyk(34.4%, 47.4%, 0%, 3.1%)
CIE-LABlab(61.96, 37.60, -54.48)
CIE-LCHlch(61.96, 66.20, 304.61°)
OKLaboklab(68.74% 0.0688 -0.1537)
OKLCHoklch(68.74% 0.168 294.1)
XYZxyz(39.6671, 30.3613, 91.7481)
Luminance0.3036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A282F7 #D7F782
analogous
#829DF7 #A282F7 #DD82F7
triadic
#A282F7 #F7A282 #82F7A2
tetradic
#A282F7 #F7829D #D7F782 #82F7DD
square
#A282F7 #F7829D #D7F782 #82F7DD
split-complementary
#A282F7 #F7DD82 #9DF782
monochromatic
#4D0FEF #7748F3 #A282F7 #CDBCFB #EAE2FD

Accessibility & contrast

On white

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

On black

7.07
#A282F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A282F7
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A282F7#FFFFFF#000000##000000
##A282F71.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5997FB
Deuteranopia (green-blind)
#5E94F4
Tritanopia (blue-blind)
#8E99B1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a282f7;
/* rgb */ color: rgb(162, 130, 247);
/* oklch */ color: oklch(68.7% 0.168 294.1);
Tailwind
colors: {
  custom: {
    50: '#c1a7fa',
    500: '#a282f7',
    950: '#000000',
  },
}
SCSS
$custom: #a282f7;
$custom-light: #c1a7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a282f7",
  "rgb": {
    "r": 162,
    "g": 130,
    "b": 247
  },
  "hsl": {
    "h": 256.41,
    "s": 87.97,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68738,
    "c": 0.16838,
    "h": 294.1
  },
  "luminance": 0.30362
}

Semantic roles & 50–950 ramp

primary
#A282F7
secondary
#EDF5D6
accent
#E501A6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A282F7

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

Preview Lab → · Contrast checker → · Palette generator →

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