#A230C7#A230C7

#A230C7 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.8% C 0.228 H 316.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#A230C7
RGBrgb(162, 48, 199)
HSLhsl(285, 61%, 48%)
HSVhsv(285, 76%, 78%)
CMYKcmyk(18.6%, 75.9%, 0%, 22%)
CIE-LABlab(44.12, 66.54, -55.94)
CIE-LCHlch(44.12, 86.93, 319.95°)
OKLaboklab(54.79% 0.1644 -0.1577)
OKLCHoklch(54.79% 0.228 316.2)
XYZxyz(26.2644, 13.9199, 55.3251)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A230C7 #55C730
analogous
#5630C7 #A230C7 #C730A0
triadic
#A230C7 #C7A230 #30C7A2
tetradic
#A230C7 #C75630 #55C730 #30A0C7
square
#A230C7 #C75630 #55C730 #30A0C7
split-complementary
#A230C7 #A0C730 #30C756
monochromatic
#521864 #7A2496 #A230C7 #BA5CD8 #CF8EE4

Accessibility & contrast

On white

5.55
#A230C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#A230C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A230C7
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A230C7#FFFFFF#000000##FFFFFF
##A230C71.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#2F6BC4
Tritanopia (blue-blind)
#A0527A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a230c7;
/* rgb */ color: rgb(162, 48, 199);
/* oklch */ color: oklch(54.8% 0.228 316.2);
Tailwind
colors: {
  custom: {
    50: '#c275d9',
    500: '#a230c7',
    950: '#000000',
  },
}
SCSS
$custom: #a230c7;
$custom-light: #c275d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a230c7",
  "rgb": {
    "r": 162,
    "g": 48,
    "b": 199
  },
  "hsl": {
    "h": 285.298,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54792,
    "c": 0.2278,
    "h": 316.2
  },
  "luminance": 0.13919
}

Semantic roles & 50–950 ramp

primary
#A230C7
secondary
#97CE85
accent
#E4446B
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A230C7

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

Preview Lab → · Contrast checker → · Palette generator →

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