#A23FE3#A23FE3

#A23FE3 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 58.1% C 0.237 H 308.2°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A23FE3
RGBrgb(162, 63, 227)
HSLhsl(276, 75%, 57%)
HSVhsv(276, 72%, 89%)
CMYKcmyk(28.6%, 72.2%, 0%, 11%)
CIE-LABlab(47.99, 66.66, -65.75)
CIE-LCHlch(47.99, 93.63, 315.40°)
OKLaboklab(58.14% 0.1466 -0.1866)
OKLCHoklch(58.14% 0.237 308.2)
XYZxyz(30.5400, 16.7829, 74.2887)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23FE3 #80E33F
analogous
#503FE3 #A23FE3 #E33FD2
triadic
#A23FE3 #E3A23F #3FE3A2
tetradic
#A23FE3 #E3503F #80E33F #3FD2E3
square
#A23FE3 #E3503F #80E33F #3FD2E3
split-complementary
#A23FE3 #D2E33F #3FE350
monochromatic
#611592 #841DC8 #A23FE3 #BC74EB #D6AAF3

Accessibility & contrast

On white

4.82
#A23FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#A23FE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23FE3
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23FE3#FFFFFF#000000##FFFFFF
##A23FE31.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE8
Deuteranopia (green-blind)
#0173E0
Tritanopia (blue-blind)
#98658E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a23fe3;
/* rgb */ color: rgb(162, 63, 227);
/* oklch */ color: oklch(58.1% 0.237 308.2);
Tailwind
colors: {
  custom: {
    50: '#c37ded',
    500: '#a23fe3',
    950: '#000000',
  },
}
SCSS
$custom: #a23fe3;
$custom-light: #c37ded;
$custom-dark: #000000;
JSON
{
  "hex": "#a23fe3",
  "rgb": {
    "r": 162,
    "g": 63,
    "b": 227
  },
  "hsl": {
    "h": 276.22,
    "s": 74.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58135,
    "c": 0.23724,
    "h": 308.2
  },
  "luminance": 0.16782
}

Semantic roles & 50–950 ramp

primary
#A23FE3
secondary
#B8E09D
accent
#F13781
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A23FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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