#A283F2#A283F2

#A283F2 is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.6% C 0.160 H 294.7°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#A283F2
RGBrgb(162, 131, 242)
HSLhsl(257, 81%, 73%)
HSVhsv(257, 46%, 95%)
CMYKcmyk(33.1%, 45.9%, 0%, 5.1%)
CIE-LABlab(61.93, 35.75, -51.78)
CIE-LCHlch(61.93, 62.92, 304.63°)
OKLaboklab(68.63% 0.067 -0.1458)
OKLCHoklch(68.63% 0.16 294.7)
XYZxyz(39.0395, 30.3241, 87.7835)
Luminance0.3033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A283F2 #D3F283
analogous
#839BF2 #A283F2 #DA83F2
triadic
#A283F2 #F2A283 #83F2A2
tetradic
#A283F2 #F2839B #D3F283 #83F2DA
square
#A283F2 #F2839B #D3F283 #83F2DA
split-complementary
#A283F2 #F2DA83 #9BF283
monochromatic
#5018E3 #784CEC #A283F2 #CCBAF8 #EAE3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A283F2#FFFFFF#000000##000000
##A283F21.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)
#5E97F6
Deuteranopia (green-blind)
#6394EF
Tritanopia (blue-blind)
#9098AF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a283f2;
/* rgb */ color: rgb(162, 131, 242);
/* oklch */ color: oklch(68.6% 0.160 294.7);
Tailwind
colors: {
  custom: {
    50: '#c0a7f7',
    500: '#a283f2',
    950: '#000000',
  },
}
SCSS
$custom: #a283f2;
$custom-light: #c0a7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a283f2",
  "rgb": {
    "r": 162,
    "g": 131,
    "b": 242
  },
  "hsl": {
    "h": 256.757,
    "s": 81.022,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68629,
    "c": 0.1604,
    "h": 294.7
  },
  "luminance": 0.30325
}

Semantic roles & 50–950 ramp

primary
#A283F2
secondary
#ECF4D7
accent
#DD08A2
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A283F2

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

Preview Lab → · Contrast checker → · Palette generator →

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