#A23FDA#A23FDA

#A23FDA is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.5% C 0.229 H 310.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#A23FDA
RGBrgb(162, 63, 218)
HSLhsl(278, 68%, 55%)
HSVhsv(278, 71%, 85%)
CMYKcmyk(25.7%, 71.1%, 0%, 14.5%)
CIE-LABlab(47.36, 64.76, -61.64)
CIE-LCHlch(47.36, 89.40, 316.41°)
OKLaboklab(57.5% 0.1479 -0.1745)
OKLCHoklch(57.5% 0.229 310.3)
XYZxyz(29.3302, 16.2990, 67.9170)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23FDA #77DA3F
analogous
#553FDA #A23FDA #DA3FC4
triadic
#A23FDA #DAA23F #3FDAA2
tetradic
#A23FDA #DA553F #77DA3F #3FC4DA
square
#A23FDA #DA553F #77DA3F #3FC4DA
split-complementary
#A23FDA #C4DA3F #3FDA55
monochromatic
#5E1A85 #8324B8 #A23FDA #BB72E4 #D4A6EE

Accessibility & contrast

On white

4.93
#A23FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#A23FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23FDA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23FDA#FFFFFF#000000##FFFFFF
##A23FDA1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDE
Deuteranopia (green-blind)
#2272D7
Tritanopia (blue-blind)
#9A6289
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a23fda;
/* rgb */ color: rgb(162, 63, 218);
/* oklch */ color: oklch(57.5% 0.229 310.3);
Tailwind
colors: {
  custom: {
    50: '#c27ce6',
    500: '#a23fda',
    950: '#000000',
  },
}
SCSS
$custom: #a23fda;
$custom-light: #c27ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#a23fda",
  "rgb": {
    "r": 162,
    "g": 63,
    "b": 218
  },
  "hsl": {
    "h": 278.323,
    "s": 67.686,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57499,
    "c": 0.22874,
    "h": 310.3
  },
  "luminance": 0.16298
}

Semantic roles & 50–950 ramp

primary
#A23FDA
secondary
#B1DB9A
accent
#EB3D7C
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A23FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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