#A0248F#A0248F

#A0248F is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.1% C 0.195 H 334.5°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#A0248F
RGBrgb(160, 36, 143)
HSLhsl(308, 63%, 38%)
HSVhsv(308, 78%, 63%)
CMYKcmyk(0%, 77.5%, 10.6%, 37.3%)
CIE-LABlab(39.11, 60.30, -30.63)
CIE-LCHlch(39.11, 67.63, 333.07°)
OKLaboklab(50.09% 0.1755 -0.0839)
OKLCHoklch(50.09% 0.195 334.5)
XYZxyz(20.0862, 10.7203, 26.9926)
Luminance0.1072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0248F #24A035
analogous
#7324A0 #A0248F #A02451
triadic
#A0248F #8FA024 #248FA0
tetradic
#A0248F #A07324 #24A035 #2451A0
square
#A0248F #A07324 #24A035 #2451A0
split-complementary
#A0248F #51A024 #24A073
monochromatic
#3C0E36 #6E1962 #A0248F #D131BB #DC63CB

Accessibility & contrast

On white

6.68
#A0248F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A0248F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0248F
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0248F#FFFFFF#000000##FFFFFF
##A0248F1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225192
Deuteranopia (green-blind)
#51628C
Tritanopia (blue-blind)
#A83058
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a0248f;
/* rgb */ color: rgb(160, 36, 143);
/* oklch */ color: oklch(50.1% 0.195 334.5);
Tailwind
colors: {
  custom: {
    50: '#c06db0',
    500: '#a0248f',
    950: '#000000',
  },
}
SCSS
$custom: #a0248f;
$custom-light: #c06db0;
$custom-dark: #000000;
JSON
{
  "hex": "#a0248f",
  "rgb": {
    "r": 160,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 308.226,
    "s": 63.265,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50087,
    "c": 0.19453,
    "h": 334.5
  },
  "luminance": 0.10719
}

Semantic roles & 50–950 ramp

primary
#A0248F
secondary
#5FC16C
accent
#E65841
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A0248F

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

Preview Lab → · Contrast checker → · Palette generator →

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