#A23DD7#A23DD7

#A23DD7 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 57.1% C 0.228 H 311.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A23DD7
RGBrgb(162, 61, 215)
HSLhsl(279, 66%, 54%)
HSVhsv(279, 72%, 84%)
CMYKcmyk(24.7%, 71.6%, 0%, 15.7%)
CIE-LABlab(46.88, 64.94, -60.71)
CIE-LCHlch(46.88, 88.89, 316.93°)
OKLaboklab(57.09% 0.1503 -0.1717)
OKLCHoklch(57.09% 0.228 311.2)
XYZxyz(28.8325, 15.9259, 65.8320)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23DD7 #72D73D
analogous
#553DD7 #A23DD7 #D73DBF
triadic
#A23DD7 #D7A23D #3DD7A2
tetradic
#A23DD7 #D7553D #72D73D #3DBFD7
square
#A23DD7 #D7553D #72D73D #3DBFD7
split-complementary
#A23DD7 #BFD73D #3DD755
monochromatic
#5D1A7F #8125B2 #A23DD7 #BA70E1 #D3A2EC

Accessibility & contrast

On white

5.02
#A23DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#A23DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23DD7
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23DD7#FFFFFF#000000##FFFFFF
##A23DD71.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#2471D4
Tritanopia (blue-blind)
#9B5F87
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a23dd7;
/* rgb */ color: rgb(162, 61, 215);
/* oklch */ color: oklch(57.1% 0.228 311.2);
Tailwind
colors: {
  custom: {
    50: '#c27be4',
    500: '#a23dd7',
    950: '#000000',
  },
}
SCSS
$custom: #a23dd7;
$custom-light: #c27be4;
$custom-dark: #000000;
JSON
{
  "hex": "#a23dd7",
  "rgb": {
    "r": 162,
    "g": 61,
    "b": 215
  },
  "hsl": {
    "h": 279.351,
    "s": 65.812,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57088,
    "c": 0.2282,
    "h": 311.2
  },
  "luminance": 0.15925
}

Semantic roles & 50–950 ramp

primary
#A23DD7
secondary
#AED997
accent
#E93F79
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A23DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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