#A23FE1#A23FE1

#A23FE1 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 58.0% C 0.235 H 308.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A23FE1
RGBrgb(162, 63, 225)
HSLhsl(277, 73%, 56%)
HSVhsv(277, 72%, 88%)
CMYKcmyk(28%, 72%, 0%, 11.8%)
CIE-LABlab(47.85, 66.24, -64.84)
CIE-LCHlch(47.85, 92.69, 315.61°)
OKLaboklab(57.99% 0.1469 -0.1839)
OKLCHoklch(57.99% 0.235 308.6)
XYZxyz(30.2656, 16.6732, 72.8434)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23FE1 #7EE13F
analogous
#513FE1 #A23FE1 #E13FCF
triadic
#A23FE1 #E1A23F #3FE1A2
tetradic
#A23FE1 #E1513F #7EE13F #3FCFE1
square
#A23FE1 #E1513F #7EE13F #3FCFE1
split-complementary
#A23FE1 #CFE13F #3FE151
monochromatic
#60168F #841FC4 #A23FE1 #BC74E9 #D5A9F2

Accessibility & contrast

On white

4.84
#A23FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#A23FE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23FE1
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23FE1#FFFFFF#000000##FFFFFF
##A23FE11.004.844.334.84
#FFFFFF4.841.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE6
Deuteranopia (green-blind)
#0D73DE
Tritanopia (blue-blind)
#98658D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a23fe1;
/* rgb */ color: rgb(162, 63, 225);
/* oklch */ color: oklch(58.0% 0.235 308.6);
Tailwind
colors: {
  custom: {
    50: '#c37deb',
    500: '#a23fe1',
    950: '#000000',
  },
}
SCSS
$custom: #a23fe1;
$custom-light: #c37deb;
$custom-dark: #000000;
JSON
{
  "hex": "#a23fe1",
  "rgb": {
    "r": 162,
    "g": 63,
    "b": 225
  },
  "hsl": {
    "h": 276.667,
    "s": 72.973,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57992,
    "c": 0.23535,
    "h": 308.6
  },
  "luminance": 0.16673
}

Semantic roles & 50–950 ramp

primary
#A23FE1
secondary
#B7DF9D
accent
#F03880
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A23FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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