#A23FFF#A23FFF

#A23FFF is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 60.2% C 0.264 H 302.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A23FFF
RGBrgb(162, 63, 255)
HSLhsl(271, 100%, 62%)
HSVhsv(271, 75%, 100%)
CMYKcmyk(36.5%, 75.3%, 0%, 0%)
CIE-LABlab(50.04, 72.76, -78.12)
CIE-LCHlch(50.04, 106.76, 312.96°)
OKLaboklab(60.23% 0.141 -0.2229)
OKLCHoklch(60.23% 0.264 302.3)
XYZxyz(34.7235, 18.4563, 96.3214)
Luminance0.1846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23FFF #9CFF3F
analogous
#423FFF #A23FFF #FF3FFC
triadic
#A23FFF #FFA23F #3FFFA2
tetradic
#A23FFF #FF423F #9CFF3F #3FFCFF
square
#A23FFF #FF423F #9CFF3F #3FFCFF
split-complementary
#A23FFF #FCFF3F #3FFF42
monochromatic
#6500C4 #8402FF #A23FFF #C07CFF #DDB9FF

Accessibility & contrast

On white

4.48
#A23FFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#A23FFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A23FFF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23FFF#FFFFFF#000000##000000
##A23FFF1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a23fff;
/* rgb */ color: rgb(162, 63, 255);
/* oklch */ color: oklch(60.2% 0.264 302.3);
Tailwind
colors: {
  custom: {
    50: '#c57eff',
    500: '#a23fff',
    950: '#000000',
  },
}
SCSS
$custom: #a23fff;
$custom-light: #c57eff;
$custom-dark: #000000;
JSON
{
  "hex": "#a23fff",
  "rgb": {
    "r": 162,
    "g": 63,
    "b": 255
  },
  "hsl": {
    "h": 270.938,
    "s": 100,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6023,
    "c": 0.26374,
    "h": 302.3
  },
  "luminance": 0.18456
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A23FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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