#7023D4#7023D4

#7023D4 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.5% C 0.240 H 295.1°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#7023D4
RGBrgb(112, 35, 212)
HSLhsl(266, 72%, 48%)
HSVhsv(266, 83%, 83%)
CMYKcmyk(47.2%, 83.5%, 0%, 16.9%)
CIE-LABlab(36.74, 65.85, -75.79)
CIE-LCHlch(36.74, 100.40, 310.99°)
OKLaboklab(48.52% 0.1019 -0.2175)
OKLCHoklch(48.52% 0.24 295.1)
XYZxyz(19.1635, 9.3997, 63.0792)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7023D4 #87D423
analogous
#232ED4 #7023D4 #C823D4
triadic
#7023D4 #D47023 #23D470
tetradic
#7023D4 #D4232E #87D423 #23D4C8
square
#7023D4 #D4232E #87D423 #23D4C8
split-complementary
#7023D4 #D4C823 #2ED423
monochromatic
#38126B #541A9F #7023D4 #9152E2 #B286EB

Accessibility & contrast

On white

7.29
#7023D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7023D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7023D4
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7023D4#FFFFFF#000000##FFFFFF
##7023D41.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D9
Deuteranopia (green-blind)
#0054D1
Tritanopia (blue-blind)
#52597F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7023d4;
/* rgb */ color: rgb(112, 35, 212);
/* oklch */ color: oklch(48.5% 0.240 295.1);
Tailwind
colors: {
  custom: {
    50: '#a36ae3',
    500: '#7023d4',
    950: '#000000',
  },
}
SCSS
$custom: #7023d4;
$custom-light: #a36ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#7023d4",
  "rgb": {
    "r": 112,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 266.102,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48524,
    "c": 0.24015,
    "h": 295.1
  },
  "luminance": 0.094
}

Semantic roles & 50–950 ramp

primary
#7023D4
secondary
#AFD47E
accent
#EE39A0
background
#FAF6FE
surface
#F4ECFC
border
#CEC7D5
text
#100716
muted
#7F7A84

Preview Lab

Preview with #7023D4

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

Preview Lab → · Contrast checker → · Palette generator →

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