#7023A8#7023A8

#7023A8 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.6% C 0.198 H 305.9°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#7023A8
RGBrgb(112, 35, 168)
HSLhsl(275, 66%, 40%)
HSVhsv(275, 79%, 66%)
CMYKcmyk(33.3%, 79.2%, 0%, 34.1%)
CIE-LABlab(32.86, 55.62, -56.22)
CIE-LCHlch(32.86, 79.09, 314.69°)
OKLaboklab(44.65% 0.1157 -0.1601)
OKLCHoklch(44.65% 0.198 305.9)
XYZxyz(14.3494, 7.4741, 37.7249)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7023A8 #5BA823
analogous
#2E23A8 #7023A8 #A8239D
triadic
#7023A8 #A87023 #23A870
tetradic
#7023A8 #A82E23 #5BA823 #239DA8
square
#7023A8 #A82E23 #5BA823 #239DA8
split-complementary
#7023A8 #9DA823 #23A82E
monochromatic
#2C0E43 #4E1875 #7023A8 #9134D5 #AC66DF

Accessibility & contrast

On white

8.42
#7023A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7023A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7023A8
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7023A8#FFFFFF#000000##FFFFFF
##7023A81.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#004EA5
Tritanopia (blue-blind)
#664665
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7023a8;
/* rgb */ color: rgb(112, 35, 168);
/* oklch */ color: oklch(44.6% 0.198 305.9);
Tailwind
colors: {
  custom: {
    50: '#9f67c3',
    500: '#7023a8',
    950: '#000000',
  },
}
SCSS
$custom: #7023a8;
$custom-light: #9f67c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7023a8",
  "rgb": {
    "r": 112,
    "g": 35,
    "b": 168
  },
  "hsl": {
    "h": 274.737,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4465,
    "c": 0.19752,
    "h": 305.9
  },
  "luminance": 0.07474
}

Semantic roles & 50–950 ramp

primary
#7023A8
secondary
#8CC562
accent
#E83F87
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7023A8

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

Preview Lab → · Contrast checker → · Palette generator →

#7023A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva