#A245BF#A245BF

#A245BF is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.4% C 0.195 H 317.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A245BF
RGBrgb(162, 69, 191)
HSLhsl(286, 49%, 51%)
HSVhsv(286, 64%, 75%)
CMYKcmyk(15.2%, 63.9%, 0%, 25.1%)
CIE-LABlab(46.58, 56.62, -47.34)
CIE-LCHlch(46.58, 73.81, 320.10°)
OKLaboklab(56.39% 0.1435 -0.1326)
OKLCHoklch(56.39% 0.195 317.3)
XYZxyz(26.4310, 15.7003, 50.9183)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A245BF #62BF45
analogous
#6545BF #A245BF #BF459F
triadic
#A245BF #BFA245 #45BFA2
tetradic
#A245BF #BF6545 #62BF45 #459FBF
square
#A245BF #BF6545 #62BF45 #459FBF
split-complementary
#A245BF #9FBF45 #45BF65
monochromatic
#562366 #7D3394 #A245BF #B973CF #D0A0DE

Accessibility & contrast

On white

5.07
#A245BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#A245BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A245BF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A245BF#FFFFFF#000000##FFFFFF
##A245BF1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B69C3
Deuteranopia (green-blind)
#4871BC
Tritanopia (blue-blind)
#A15B7C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a245bf;
/* rgb */ color: rgb(162, 69, 191);
/* oklch */ color: oklch(56.4% 0.195 317.3);
Tailwind
colors: {
  custom: {
    50: '#c17fd3',
    500: '#a245bf',
    950: '#000000',
  },
}
SCSS
$custom: #a245bf;
$custom-light: #c17fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#a245bf",
  "rgb": {
    "r": 162,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 285.738,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56391,
    "c": 0.1954,
    "h": 317.3
  },
  "luminance": 0.15699
}

Semantic roles & 50–950 ramp

primary
#A245BF
secondary
#A2CB95
accent
#D84F70
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A245BF

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

Preview Lab → · Contrast checker → · Palette generator →

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