#7123BC#7123BC

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

Color values

HEX#7123BC
RGBrgb(113, 35, 188)
HSLhsl(271, 69%, 44%)
HSVhsv(271, 81%, 74%)
CMYKcmyk(39.9%, 81.4%, 0%, 26.3%)
CIE-LABlab(34.69, 60.36, -65.15)
CIE-LCHlch(34.69, 88.81, 312.82°)
OKLaboklab(46.47% 0.1115 -0.1863)
OKLCHoklch(46.47% 0.217 300.9)
XYZxyz(16.4859, 8.3435, 48.3091)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7123BC #6EBC23
analogous
#2423BC #7123BC #BC23BA
triadic
#7123BC #BC7123 #23BC71
tetradic
#7123BC #BC2423 #6EBC23 #23BABC
square
#7123BC #BC2423 #6EBC23 #23BABC
split-complementary
#7123BC #BABC23 #23BC24
monochromatic
#331055 #521988 #7123BC #9041DC #AE74E5

Accessibility & contrast

On white

7.87
#7123BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7123BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7123BC
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7123BC#FFFFFF#000000##FFFFFF
##7123BC1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C0
Deuteranopia (green-blind)
#0051B9
Tritanopia (blue-blind)
#604E71
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7123bc;
/* rgb */ color: rgb(113, 35, 188);
/* oklch */ color: oklch(46.5% 0.217 300.9);
Tailwind
colors: {
  custom: {
    50: '#a169d1',
    500: '#7123bc',
    950: '#000000',
  },
}
SCSS
$custom: #7123bc;
$custom-light: #a169d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7123bc",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 270.588,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46471,
    "c": 0.21706,
    "h": 300.9
  },
  "luminance": 0.08344
}

Semantic roles & 50–950 ramp

primary
#7123BC
secondary
#9CCC6F
accent
#EB3C92
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7123BC

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

Preview Lab → · Contrast checker → · Palette generator →

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