#A242BE#A242BE

#A242BE is a mid, vivid purple. Relative luminance 0.153; OKLCH L 56.0% C 0.199 H 317.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#A242BE
RGBrgb(162, 66, 190)
HSLhsl(286, 49%, 50%)
HSVhsv(286, 65%, 75%)
CMYKcmyk(14.7%, 65.3%, 0%, 25.5%)
CIE-LABlab(46.04, 57.76, -47.63)
CIE-LCHlch(46.04, 74.86, 320.49°)
OKLaboklab(55.98% 0.147 -0.1334)
OKLCHoklch(55.98% 0.199 317.8)
XYZxyz(26.1415, 15.2966, 50.2807)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A242BE #5EBE42
analogous
#6442BE #A242BE #BE429C
triadic
#A242BE #BEA242 #42BEA2
tetradic
#A242BE #BE6442 #5EBE42 #429CBE
square
#A242BE #BE6442 #5EBE42 #429CBE
split-complementary
#A242BE #9CBE42 #42BE64
monochromatic
#552263 #7B3291 #A242BE #B870CE #CF9DDD

Accessibility & contrast

On white

5.17
#A242BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#A242BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A242BE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A242BE#FFFFFF#000000##FFFFFF
##A242BE1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1467C2
Deuteranopia (green-blind)
#4770BB
Tritanopia (blue-blind)
#A1587A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a242be;
/* rgb */ color: rgb(162, 66, 190);
/* oklch */ color: oklch(56.0% 0.199 317.8);
Tailwind
colors: {
  custom: {
    50: '#c17dd2',
    500: '#a242be',
    950: '#000000',
  },
}
SCSS
$custom: #a242be;
$custom-light: #c17dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#a242be",
  "rgb": {
    "r": 162,
    "g": 66,
    "b": 190
  },
  "hsl": {
    "h": 286.452,
    "s": 48.819,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55982,
    "c": 0.19853,
    "h": 317.8
  },
  "luminance": 0.15296
}

Semantic roles & 50–950 ramp

primary
#A242BE
secondary
#9FCA92
accent
#D84F6E
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A242BE

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

Preview Lab → · Contrast checker → · Palette generator →

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