#A23EFF#A23EFF

#A23EFF is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 60.1% C 0.265 H 302.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A23EFF
RGBrgb(162, 62, 255)
HSLhsl(271, 100%, 62%)
HSVhsv(271, 76%, 100%)
CMYKcmyk(36.5%, 75.7%, 0%, 0%)
CIE-LABlab(49.91, 73.14, -78.34)
CIE-LCHlch(49.91, 107.17, 313.03°)
OKLaboklab(60.14% 0.1417 -0.2235)
OKLCHoklch(60.14% 0.265 302.4)
XYZxyz(34.6686, 18.3465, 96.3031)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23EFF #9BFF3E
analogous
#423EFF #A23EFF #FF3EFC
triadic
#A23EFF #FFA23E #3EFFA2
tetradic
#A23EFF #FF423E #9BFF3E #3EFCFF
square
#A23EFF #FF423E #9BFF3E #3EFCFF
split-complementary
#A23EFF #FCFF3E #3EFF42
monochromatic
#6500C3 #8501FF #A23EFF #BF7BFF #DDB8FF

Accessibility & contrast

On white

4.50
#A23EFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#A23EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A23EFF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23EFF#FFFFFF#000000##000000
##A23EFF1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075FF
Deuteranopia (green-blind)
#0076FB
Tritanopia (blue-blind)
#8E719D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a23eff;
/* rgb */ color: rgb(162, 62, 255);
/* oklch */ color: oklch(60.1% 0.265 302.4);
Tailwind
colors: {
  custom: {
    50: '#c57eff',
    500: '#a23eff',
    950: '#000000',
  },
}
SCSS
$custom: #a23eff;
$custom-light: #c57eff;
$custom-dark: #000000;
JSON
{
  "hex": "#a23eff",
  "rgb": {
    "r": 162,
    "g": 62,
    "b": 255
  },
  "hsl": {
    "h": 271.088,
    "s": 100,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60138,
    "c": 0.26469,
    "h": 302.4
  },
  "luminance": 0.18347
}

Semantic roles & 50–950 ramp

primary
#A23EFF
secondary
#CBF0A9
accent
#E6006F
background
#FCF8FF
surface
#F9EFFF
border
#D2CAD7
text
#140B18
muted
#827C86

Preview Lab

Preview with #A23EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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