#A245BE#A245BE

#A245BE is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.3% C 0.194 H 317.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A245BE
RGBrgb(162, 69, 190)
HSLhsl(286, 48%, 51%)
HSVhsv(286, 64%, 75%)
CMYKcmyk(14.7%, 63.7%, 0%, 25.5%)
CIE-LABlab(46.52, 56.42, -46.86)
CIE-LCHlch(46.52, 73.34, 320.29°)
OKLaboklab(56.33% 0.1435 -0.1312)
OKLCHoklch(56.33% 0.194 317.6)
XYZxyz(26.3214, 15.6564, 50.3407)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A245BE #61BE45
analogous
#6545BE #A245BE #BE459D
triadic
#A245BE #BEA245 #45BEA2
tetradic
#A245BE #BE6545 #61BE45 #459DBE
square
#A245BE #BE6545 #61BE45 #459DBE
split-complementary
#A245BE #9DBE45 #45BE65
monochromatic
#562365 #7D3393 #A245BE #B972CE #CFA0DE

Accessibility & contrast

On white

5.08
#A245BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#A245BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A245BE
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A245BE#FFFFFF#000000##FFFFFF
##A245BE1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D68C2
Deuteranopia (green-blind)
#4971BB
Tritanopia (blue-blind)
#A15A7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a245be;
/* rgb */ color: rgb(162, 69, 190);
/* oklch */ color: oklch(56.3% 0.194 317.6);
Tailwind
colors: {
  custom: {
    50: '#c17fd2',
    500: '#a245be',
    950: '#000000',
  },
}
SCSS
$custom: #a245be;
$custom-light: #c17fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#a245be",
  "rgb": {
    "r": 162,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 286.116,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5633,
    "c": 0.19444,
    "h": 317.6
  },
  "luminance": 0.15655
}

Semantic roles & 50–950 ramp

primary
#A245BE
secondary
#A1CA95
accent
#D8506F
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A245BE

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

Preview Lab → · Contrast checker → · Palette generator →

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