#A242B0#A242B0

#A242B0 is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.1% C 0.185 H 322.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#A242B0
RGBrgb(162, 66, 176)
HSLhsl(292, 45%, 47%)
HSVhsv(292, 63%, 69%)
CMYKcmyk(8%, 62.5%, 0%, 31%)
CIE-LABlab(45.24, 55.04, -40.70)
CIE-LCHlch(45.24, 68.45, 323.52°)
OKLaboklab(55.15% 0.1469 -0.1132)
OKLCHoklch(55.15% 0.185 322.4)
XYZxyz(24.6842, 14.7137, 42.6057)
Luminance0.1471 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A242B0 #50B042
analogous
#6B42B0 #A242B0 #B04287
triadic
#A242B0 #B0A242 #42B0A2
tetradic
#A242B0 #B06B42 #50B042 #4287B0
square
#A242B0 #B06B42 #50B042 #4287B0
split-complementary
#A242B0 #87B042 #42B06B
monochromatic
#502157 #793183 #A242B0 #BB69C7 #CF95D7

Accessibility & contrast

On white

5.33
#A242B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#A242B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A242B0
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A242B0#FFFFFF#000000##FFFFFF
##A242B01.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A64B3
Deuteranopia (green-blind)
#506FAD
Tritanopia (blue-blind)
#A45373
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a242b0;
/* rgb */ color: rgb(162, 66, 176);
/* oklch */ color: oklch(55.1% 0.185 322.4);
Tailwind
colors: {
  custom: {
    50: '#c07dc8',
    500: '#a242b0',
    950: '#000000',
  },
}
SCSS
$custom: #a242b0;
$custom-light: #c07dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#a242b0",
  "rgb": {
    "r": 162,
    "g": 66,
    "b": 176
  },
  "hsl": {
    "h": 292.364,
    "s": 45.455,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55148,
    "c": 0.18549,
    "h": 322.4
  },
  "luminance": 0.14712
}

Semantic roles & 50–950 ramp

primary
#A242B0
secondary
#92C38B
accent
#D55363
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A242B0

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

Preview Lab → · Contrast checker → · Palette generator →

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