#A282BC#A282BC

#A282BC is a light, moderate violet. Relative luminance 0.273; OKLCH L 65.8% C 0.091 H 309.2°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A282BC
RGBrgb(162, 130, 188)
HSLhsl(273, 30%, 62%)
HSVhsv(273, 31%, 74%)
CMYKcmyk(13.8%, 30.9%, 0%, 26.3%)
CIE-LABlab(59.23, 23.41, -25.77)
CIE-LCHlch(59.23, 34.82, 312.26°)
OKLaboklab(65.77% 0.0577 -0.0707)
OKLCHoklch(65.77% 0.091 309.2)
XYZxyz(31.9584, 27.2778, 51.1488)
Luminance0.2728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A282BC #9CBC82
analogous
#8582BC #A282BC #BC82B9
triadic
#A282BC #BCA282 #82BCA2
tetradic
#A282BC #BC8582 #9CBC82 #82B9BC
square
#A282BC #BC8582 #9CBC82 #82B9BC
split-complementary
#A282BC #B9BC82 #82BC85
monochromatic
#65447F #845AA7 #A282BC #C0AAD1 #DDD2E7

Accessibility & contrast

On white

3.25
#A282BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#A282BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A282BC
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A282BC#FFFFFF#000000##000000
##A282BC1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#788DBE
Deuteranopia (green-blind)
#7E8FBA
Tritanopia (blue-blind)
#9F8A97
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a282bc;
/* rgb */ color: rgb(162, 130, 188);
/* oklch */ color: oklch(65.8% 0.091 309.2);
Tailwind
colors: {
  custom: {
    50: '#bea6d0',
    500: '#a282bc',
    950: '#000000',
  },
}
SCSS
$custom: #a282bc;
$custom-light: #bea6d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a282bc",
  "rgb": {
    "r": 162,
    "g": 130,
    "b": 188
  },
  "hsl": {
    "h": 273.103,
    "s": 30.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65774,
    "c": 0.0912,
    "h": 309.2
  },
  "luminance": 0.27277
}

Semantic roles & 50–950 ramp

primary
#A282BC
secondary
#CCD7C2
accent
#A93D6D
background
#FBFAFC
surface
#F7F4F9
border
#D0CED2
text
#120F14
muted
#817F82

Preview Lab

Preview with #A282BC

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

Preview Lab → · Contrast checker → · Palette generator →

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