#A23FE2#A23FE2

#A23FE2 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 58.1% C 0.236 H 308.4°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A23FE2
RGBrgb(162, 63, 226)
HSLhsl(276, 74%, 57%)
HSVhsv(276, 72%, 89%)
CMYKcmyk(28.3%, 72.1%, 0%, 11.4%)
CIE-LABlab(47.92, 66.45, -65.30)
CIE-LCHlch(47.92, 93.16, 315.50°)
OKLaboklab(58.06% 0.1467 -0.1852)
OKLCHoklch(58.06% 0.236 308.4)
XYZxyz(30.4024, 16.7279, 73.5640)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23FE2 #7FE23F
analogous
#513FE2 #A23FE2 #E23FD0
triadic
#A23FE2 #E2A23F #3FE2A2
tetradic
#A23FE2 #E2513F #7FE23F #3FD0E2
square
#A23FE2 #E2513F #7FE23F #3FD0E2
split-complementary
#A23FE2 #D0E23F #3FE251
monochromatic
#601691 #841EC6 #A23FE2 #BC74EA #D6A9F2

Accessibility & contrast

On white

4.83
#A23FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#A23FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23FE2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23FE2#FFFFFF#000000##FFFFFF
##A23FE21.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0773DF
Tritanopia (blue-blind)
#98658D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a23fe2;
/* rgb */ color: rgb(162, 63, 226);
/* oklch */ color: oklch(58.1% 0.236 308.4);
Tailwind
colors: {
  custom: {
    50: '#c37dec',
    500: '#a23fe2',
    950: '#000000',
  },
}
SCSS
$custom: #a23fe2;
$custom-light: #c37dec;
$custom-dark: #000000;
JSON
{
  "hex": "#a23fe2",
  "rgb": {
    "r": 162,
    "g": 63,
    "b": 226
  },
  "hsl": {
    "h": 276.442,
    "s": 73.756,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58064,
    "c": 0.2363,
    "h": 308.4
  },
  "luminance": 0.16727
}

Semantic roles & 50–950 ramp

primary
#A23FE2
secondary
#B7E09D
accent
#F03780
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A23FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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