#A0258C#A0258C

#A0258C is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.191 H 335.7°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#A0258C
RGBrgb(160, 37, 140)
HSLhsl(310, 62%, 39%)
HSVhsv(310, 77%, 63%)
CMYKcmyk(0%, 76.9%, 12.5%, 37.3%)
CIE-LABlab(39.06, 59.55, -28.87)
CIE-LCHlch(39.06, 66.18, 334.13°)
OKLaboklab(50% 0.1744 -0.0788)
OKLCHoklch(50% 0.191 335.7)
XYZxyz(19.8927, 10.6920, 25.8219)
Luminance0.1069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0258C #25A039
analogous
#7625A0 #A0258C #A0254E
triadic
#A0258C #8CA025 #258CA0
tetradic
#A0258C #A07625 #25A039 #254EA0
square
#A0258C #A07625 #25A039 #254EA0
split-complementary
#A0258C #4EA025 #25A076
monochromatic
#3D0E35 #6E1A61 #A0258C #D032B6 #DB64C8

Accessibility & contrast

On white

6.69
#A0258C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A0258C
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0258C#FFFFFF#000000##FFFFFF
##A0258C1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26508F
Deuteranopia (green-blind)
#526289
Tritanopia (blue-blind)
#A82F56
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a0258c;
/* rgb */ color: rgb(160, 37, 140);
/* oklch */ color: oklch(50.0% 0.191 335.7);
Tailwind
colors: {
  custom: {
    50: '#c06dae',
    500: '#a0258c',
    950: '#000000',
  },
}
SCSS
$custom: #a0258c;
$custom-light: #c06dae;
$custom-dark: #000000;
JSON
{
  "hex": "#a0258c",
  "rgb": {
    "r": 160,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 309.756,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50002,
    "c": 0.19141,
    "h": 335.7
  },
  "luminance": 0.1069
}

Semantic roles & 50–950 ramp

primary
#A0258C
secondary
#60C170
accent
#E65D42
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A0258C

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

Preview Lab → · Contrast checker → · Palette generator →

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