#7023BD#7023BD

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

Color values

HEX#7023BD
RGBrgb(112, 35, 189)
HSLhsl(270, 69%, 44%)
HSVhsv(270, 81%, 74%)
CMYKcmyk(40.7%, 81.5%, 0%, 25.9%)
CIE-LABlab(34.64, 60.45, -65.82)
CIE-LCHlch(34.64, 89.36, 312.56°)
OKLaboklab(46.44% 0.1097 -0.1883)
OKLCHoklch(46.44% 0.218 300.2)
XYZxyz(16.4661, 8.3208, 48.8728)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7023BD #70BD23
analogous
#2323BD #7023BD #BD23BD
triadic
#7023BD #BD7023 #23BD70
tetradic
#7023BD #BD2323 #70BD23 #23BDBD
square
#7023BD #BD2323 #70BD23 #23BDBD
split-complementary
#7023BD #BDBD23 #23BD23
monochromatic
#331056 #511989 #7023BD #8F41DC #AD75E5

Accessibility & contrast

On white

7.88
#7023BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7023BD
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7023BD#FFFFFF#000000##FFFFFF
##7023BD1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#5E4F72
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7023bd;
/* rgb */ color: rgb(112, 35, 189);
/* oklch */ color: oklch(46.4% 0.218 300.2);
Tailwind
colors: {
  custom: {
    50: '#a169d2',
    500: '#7023bd',
    950: '#000000',
  },
}
SCSS
$custom: #7023bd;
$custom-light: #a169d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7023bd",
  "rgb": {
    "r": 112,
    "g": 35,
    "b": 189
  },
  "hsl": {
    "h": 270,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46437,
    "c": 0.21787,
    "h": 300.2
  },
  "luminance": 0.08321
}

Semantic roles & 50–950 ramp

primary
#7023BD
secondary
#9ECD6F
accent
#EC3C94
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7023BD

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

Preview Lab → · Contrast checker → · Palette generator →

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