#A246E1#A246E1

#A246E1 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.7% C 0.227 H 308.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A246E1
RGBrgb(162, 70, 225)
HSLhsl(276, 72%, 58%)
HSVhsv(276, 69%, 88%)
CMYKcmyk(28%, 68.9%, 0%, 11.8%)
CIE-LABlab(48.88, 63.31, -63.16)
CIE-LCHlch(48.88, 89.43, 315.07°)
OKLaboklab(58.73% 0.14 -0.179)
OKLCHoklch(58.73% 0.227 308)
XYZxyz(30.6782, 17.4984, 72.9810)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246E1 #85E146
analogous
#5446E1 #A246E1 #E146D2
triadic
#A246E1 #E1A246 #46E1A2
tetradic
#A246E1 #E15446 #85E146 #46D2E1
square
#A246E1 #E15446 #85E146 #46D2E1
split-complementary
#A246E1 #D2E146 #46E154
monochromatic
#621895 #8521C9 #A246E1 #BC7BEA #D7AFF2

Accessibility & contrast

On white

4.67
#A246E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#A246E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A246E1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246E1#FFFFFF#000000##FFFFFF
##A246E11.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#1F75DE
Tritanopia (blue-blind)
#98688F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a246e1;
/* rgb */ color: rgb(162, 70, 225);
/* oklch */ color: oklch(58.7% 0.227 308.0);
Tailwind
colors: {
  custom: {
    50: '#c280eb',
    500: '#a246e1',
    950: '#000000',
  },
}
SCSS
$custom: #a246e1;
$custom-light: #c280eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a246e1",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 225
  },
  "hsl": {
    "h": 275.613,
    "s": 72.093,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58729,
    "c": 0.22726,
    "h": 308
  },
  "luminance": 0.17498
}

Semantic roles & 50–950 ramp

primary
#A246E1
secondary
#BCE0A2
accent
#EF3983
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A246E1

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

Preview Lab → · Contrast checker → · Palette generator →

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