#A282FC#A282FC

#A282FC is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.0% C 0.175 H 293.4°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#A282FC
RGBrgb(162, 130, 252)
HSLhsl(256, 95%, 75%)
HSVhsv(256, 48%, 99%)
CMYKcmyk(35.7%, 48.4%, 0%, 1.2%)
CIE-LABlab(62.23, 38.89, -56.81)
CIE-LCHlch(62.23, 68.84, 304.39°)
OKLaboklab(69.02% 0.0693 -0.1605)
OKLCHoklch(69.02% 0.175 293.4)
XYZxyz(40.4490, 30.6741, 95.8662)
Luminance0.3068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A282FC #DCFC82
analogous
#829FFC #A282FC #DF82FC
triadic
#A282FC #FCA282 #82FCA2
tetradic
#A282FC #FC829F #DCFC82 #82FCDF
square
#A282FC #FC829F #DCFC82 #82FCDF
split-complementary
#A282FC #FCDF82 #9FFC82
monochromatic
#490AF9 #7646FB #A282FC #CEBEFD #E9E1FE

Accessibility & contrast

On white

2.94
#A282FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#A282FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A282FC
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A282FC#FFFFFF#000000##000000
##A282FC1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5598FF
Deuteranopia (green-blind)
#5A94F9
Tritanopia (blue-blind)
#8C9AB3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a282fc;
/* rgb */ color: rgb(162, 130, 252);
/* oklch */ color: oklch(69.0% 0.175 293.4);
Tailwind
colors: {
  custom: {
    50: '#c1a7fe',
    500: '#a282fc',
    950: '#000000',
  },
}
SCSS
$custom: #a282fc;
$custom-light: #c1a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a282fc",
  "rgb": {
    "r": 162,
    "g": 130,
    "b": 252
  },
  "hsl": {
    "h": 255.738,
    "s": 95.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.69024,
    "c": 0.17482,
    "h": 293.4
  },
  "luminance": 0.30675
}

Semantic roles & 50–950 ramp

primary
#A282FC
secondary
#EEF7D4
accent
#E600A9
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A282FC

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

Preview Lab → · Contrast checker → · Palette generator →

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