#7023BB#7023BB

#7023BB is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.3% C 0.216 H 300.7°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#7023BB
RGBrgb(112, 35, 187)
HSLhsl(270, 68%, 44%)
HSVhsv(270, 81%, 73%)
CMYKcmyk(40.1%, 81.3%, 0%, 26.7%)
CIE-LABlab(34.47, 59.98, -64.93)
CIE-LCHlch(34.47, 88.39, 312.73°)
OKLaboklab(46.26% 0.1103 -0.1856)
OKLCHoklch(46.26% 0.216 300.7)
XYZxyz(16.2505, 8.2345, 47.7373)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7023BB #6EBB23
analogous
#2423BB #7023BB #BB23BA
triadic
#7023BB #BB7023 #23BB70
tetradic
#7023BB #BB2423 #6EBB23 #23BABB
square
#7023BB #BB2423 #6EBB23 #23BABB
split-complementary
#7023BB #BABB23 #23BB24
monochromatic
#321054 #511987 #7023BB #8F40DB #AD74E5

Accessibility & contrast

On white

7.93
#7023BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7023BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7023BB
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7023BB#FFFFFF#000000##FFFFFF
##7023BB1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BF
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#5F4E70
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7023bb;
/* rgb */ color: rgb(112, 35, 187);
/* oklch */ color: oklch(46.3% 0.216 300.7);
Tailwind
colors: {
  custom: {
    50: '#a068d1',
    500: '#7023bb',
    950: '#000000',
  },
}
SCSS
$custom: #7023bb;
$custom-light: #a068d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7023bb",
  "rgb": {
    "r": 112,
    "g": 35,
    "b": 187
  },
  "hsl": {
    "h": 270.395,
    "s": 68.468,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46262,
    "c": 0.21593,
    "h": 300.7
  },
  "luminance": 0.08235
}

Semantic roles & 50–950 ramp

primary
#7023BB
secondary
#9CCC6E
accent
#EB3C93
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7023BB

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

Preview Lab → · Contrast checker → · Palette generator →

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