#7023AC#7023AC

#7023AC is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 45.0% C 0.201 H 304.7°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#7023AC
RGBrgb(112, 35, 172)
HSLhsl(274, 66%, 41%)
HSVhsv(274, 80%, 67%)
CMYKcmyk(34.9%, 79.7%, 0%, 32.5%)
CIE-LABlab(33.19, 56.53, -58.09)
CIE-LCHlch(33.19, 81.06, 314.22°)
OKLaboklab(44.98% 0.1147 -0.1656)
OKLCHoklch(44.98% 0.201 304.7)
XYZxyz(14.7278, 7.6254, 39.7177)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7023AC #5FAC23
analogous
#2C23AC #7023AC #AC23A3
triadic
#7023AC #AC7023 #23AC70
tetradic
#7023AC #AC2C23 #5FAC23 #23A3AC
square
#7023AC #AC2C23 #5FAC23 #23A3AC
split-complementary
#7023AC #A3AC23 #23AC2C
monochromatic
#2E0E46 #4F1979 #7023AC #9036D6 #AC69E0

Accessibility & contrast

On white

8.32
#7023AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7023AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7023AC
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7023AC#FFFFFF#000000##FFFFFF
##7023AC1.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#644768
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7023ac;
/* rgb */ color: rgb(112, 35, 172);
/* oklch */ color: oklch(45.0% 0.201 304.7);
Tailwind
colors: {
  custom: {
    50: '#9f68c6',
    500: '#7023ac',
    950: '#000000',
  },
}
SCSS
$custom: #7023ac;
$custom-light: #9f68c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7023ac",
  "rgb": {
    "r": 112,
    "g": 35,
    "b": 172
  },
  "hsl": {
    "h": 273.723,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44981,
    "c": 0.2014,
    "h": 304.7
  },
  "luminance": 0.07625
}

Semantic roles & 50–950 ramp

primary
#7023AC
secondary
#8FC664
accent
#E93F89
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7023AC

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

Preview Lab → · Contrast checker → · Palette generator →

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