#A23FD7#A23FD7

#A23FD7 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.3% C 0.226 H 311.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A23FD7
RGBrgb(162, 63, 215)
HSLhsl(279, 66%, 55%)
HSVhsv(279, 71%, 84%)
CMYKcmyk(24.7%, 70.7%, 0%, 15.7%)
CIE-LABlab(47.16, 64.13, -60.25)
CIE-LCHlch(47.16, 87.99, 316.79°)
OKLaboklab(57.29% 0.1483 -0.1704)
OKLCHoklch(57.29% 0.226 311)
XYZxyz(28.9412, 16.1434, 65.8682)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23FD7 #74D73F
analogous
#563FD7 #A23FD7 #D73FC0
triadic
#A23FD7 #D7A23F #3FD7A2
tetradic
#A23FD7 #D7563F #74D73F #3FC0D7
square
#A23FD7 #D7563F #74D73F #3FC0D7
split-complementary
#A23FD7 #C0D73F #3FD756
monochromatic
#5D1B81 #8225B3 #A23FD7 #BB72E2 #D3A4EC

Accessibility & contrast

On white

4.97
#A23FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#A23FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23FD7
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23FD7#FFFFFF#000000##FFFFFF
##A23FD71.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#2772D4
Tritanopia (blue-blind)
#9B6087
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a23fd7;
/* rgb */ color: rgb(162, 63, 215);
/* oklch */ color: oklch(57.3% 0.226 311.0);
Tailwind
colors: {
  custom: {
    50: '#c27ce4',
    500: '#a23fd7',
    950: '#000000',
  },
}
SCSS
$custom: #a23fd7;
$custom-light: #c27ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#a23fd7",
  "rgb": {
    "r": 162,
    "g": 63,
    "b": 215
  },
  "hsl": {
    "h": 279.079,
    "s": 65.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57291,
    "c": 0.2259,
    "h": 311
  },
  "luminance": 0.16143
}

Semantic roles & 50–950 ramp

primary
#A23FD7
secondary
#AFD999
accent
#E83F7A
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A23FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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