#A23FC7#A23FC7

#A23FC7 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.2% C 0.211 H 315.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#A23FC7
RGBrgb(162, 63, 199)
HSLhsl(284, 55%, 51%)
HSVhsv(284, 68%, 78%)
CMYKcmyk(18.6%, 68.3%, 0%, 22%)
CIE-LABlab(46.12, 60.84, -52.71)
CIE-LCHlch(46.12, 80.50, 319.10°)
OKLaboklab(56.22% 0.1499 -0.1483)
OKLCHoklch(56.22% 0.211 315.3)
XYZxyz(26.9850, 15.3609, 55.5652)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23FC7 #64C73F
analogous
#5E3FC7 #A23FC7 #C73FA8
triadic
#A23FC7 #C7A23F #3FC7A2
tetradic
#A23FC7 #C75E3F #64C73F #3FA8C7
square
#A23FC7 #C75E3F #64C73F #3FA8C7
split-complementary
#A23FC7 #A8C73F #3FC75E
monochromatic
#57206C #7E2D9B #A23FC7 #B96ED5 #D09EE3

Accessibility & contrast

On white

5.16
#A23FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#A23FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23FC7
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23FC7#FFFFFF#000000##FFFFFF
##A23FC71.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#3C70C4
Tritanopia (blue-blind)
#9F5A7E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a23fc7;
/* rgb */ color: rgb(162, 63, 199);
/* oklch */ color: oklch(56.2% 0.211 315.3);
Tailwind
colors: {
  custom: {
    50: '#c17cd9',
    500: '#a23fc7',
    950: '#000000',
  },
}
SCSS
$custom: #a23fc7;
$custom-light: #c17cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#a23fc7",
  "rgb": {
    "r": 162,
    "g": 63,
    "b": 199
  },
  "hsl": {
    "h": 283.676,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5622,
    "c": 0.21086,
    "h": 315.3
  },
  "luminance": 0.1536
}

Semantic roles & 50–950 ramp

primary
#A23FC7
secondary
#A3CF93
accent
#DE4A72
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A15
muted
#827C83

Preview Lab

Preview with #A23FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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