#7023BC#7023BC

#7023BC is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.4% C 0.217 H 300.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#7023BC
RGBrgb(112, 35, 188)
HSLhsl(270, 69%, 44%)
HSVhsv(270, 81%, 74%)
CMYKcmyk(40.4%, 81.4%, 0%, 26.3%)
CIE-LABlab(34.55, 60.21, -65.37)
CIE-LCHlch(34.55, 88.88, 312.65°)
OKLaboklab(46.35% 0.11 -0.1869)
OKLCHoklch(46.35% 0.217 300.5)
XYZxyz(16.3580, 8.2775, 48.3031)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7023BC #6FBC23
analogous
#2323BC #7023BC #BC23BB
triadic
#7023BC #BC7023 #23BC70
tetradic
#7023BC #BC2323 #6FBC23 #23BBBC
square
#7023BC #BC2323 #6FBC23 #23BBBC
split-complementary
#7023BC #BBBC23 #23BC23
monochromatic
#331055 #511988 #7023BC #8F41DC #AD74E5

Accessibility & contrast

On white

7.91
#7023BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7023BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7023BC
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7023BC#FFFFFF#000000##FFFFFF
##7023BC1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C0
Deuteranopia (green-blind)
#0050B9
Tritanopia (blue-blind)
#5E4E71
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7023bc;
/* rgb */ color: rgb(112, 35, 188);
/* oklch */ color: oklch(46.4% 0.217 300.5);
Tailwind
colors: {
  custom: {
    50: '#a069d1',
    500: '#7023bc',
    950: '#000000',
  },
}
SCSS
$custom: #7023bc;
$custom-light: #a069d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7023bc",
  "rgb": {
    "r": 112,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 270.196,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4635,
    "c": 0.2169,
    "h": 300.5
  },
  "luminance": 0.08278
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7023BC

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

Preview Lab → · Contrast checker → · Palette generator →

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