#A246BF#A246BF

#A246BF is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.5% C 0.194 H 317.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A246BF
RGBrgb(162, 70, 191)
HSLhsl(286, 49%, 51%)
HSVhsv(286, 63%, 75%)
CMYKcmyk(15.2%, 63.4%, 0%, 25.1%)
CIE-LABlab(46.74, 56.17, -47.08)
CIE-LCHlch(46.74, 73.29, 320.03°)
OKLaboklab(56.51% 0.1423 -0.1318)
OKLCHoklch(56.51% 0.194 317.2)
XYZxyz(26.4931, 15.8243, 50.9390)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246BF #63BF46
analogous
#6546BF #A246BF #BF469F
triadic
#A246BF #BFA246 #46BFA2
tetradic
#A246BF #BF6546 #63BF46 #469FBF
square
#A246BF #BF6546 #63BF46 #469FBF
split-complementary
#A246BF #9FBF46 #46BF65
monochromatic
#572467 #7D3394 #A246BF #B973CF #D0A1DE

Accessibility & contrast

On white

5.04
#A246BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#A246BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A246BF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246BF#FFFFFF#000000##FFFFFF
##A246BF1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E69C3
Deuteranopia (green-blind)
#4972BC
Tritanopia (blue-blind)
#A15B7C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a246bf;
/* rgb */ color: rgb(162, 70, 191);
/* oklch */ color: oklch(56.5% 0.194 317.2);
Tailwind
colors: {
  custom: {
    50: '#c17fd3',
    500: '#a246bf',
    950: '#000000',
  },
}
SCSS
$custom: #a246bf;
$custom-light: #c17fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#a246bf",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 285.62,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5651,
    "c": 0.19402,
    "h": 317.2
  },
  "luminance": 0.15823
}

Semantic roles & 50–950 ramp

primary
#A246BF
secondary
#A2CB96
accent
#D85070
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A246BF

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

Preview Lab → · Contrast checker → · Palette generator →

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