#A245CB#A245CB

#A245CB is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.1% C 0.207 H 313.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#A245CB
RGBrgb(162, 69, 203)
HSLhsl(282, 56%, 53%)
HSVhsv(282, 66%, 80%)
CMYKcmyk(20.2%, 66%, 0%, 20.4%)
CIE-LABlab(47.30, 59.07, -53.14)
CIE-LCHlch(47.30, 79.45, 318.03°)
OKLaboklab(57.14% 0.1431 -0.1496)
OKLCHoklch(57.14% 0.207 313.7)
XYZxyz(27.8061, 16.2503, 58.1602)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A245CB #6ECB45
analogous
#5F45CB #A245CB #CB45B1
triadic
#A245CB #CBA245 #45CBA2
tetradic
#A245CB #CB5F45 #6ECB45 #45B1CB
square
#A245CB #CB5F45 #6ECB45 #45B1CB
split-complementary
#A245CB #B1CB45 #45CB5F
monochromatic
#5B2175 #802EA5 #A245CB #BA75D8 #D2A5E6

Accessibility & contrast

On white

4.94
#A245CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#A245CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A245CB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A245CB#FFFFFF#000000##FFFFFF
##A245CB1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#3E72C8
Tritanopia (blue-blind)
#9E5F82
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a245cb;
/* rgb */ color: rgb(162, 69, 203);
/* oklch */ color: oklch(57.1% 0.207 313.7);
Tailwind
colors: {
  custom: {
    50: '#c17fdb',
    500: '#a245cb',
    950: '#000000',
  },
}
SCSS
$custom: #a245cb;
$custom-light: #c17fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a245cb",
  "rgb": {
    "r": 162,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 281.642,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57144,
    "c": 0.20699,
    "h": 313.7
  },
  "luminance": 0.16249
}

Semantic roles & 50–950 ramp

primary
#A245CB
secondary
#ABD399
accent
#E04877
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A245CB

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

Preview Lab → · Contrast checker → · Palette generator →

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