#7123BB#7123BB

#7123BB is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.4% C 0.216 H 301.1°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#7123BB
RGBrgb(113, 35, 187)
HSLhsl(271, 68%, 44%)
HSVhsv(271, 81%, 73%)
CMYKcmyk(39.6%, 81.3%, 0%, 26.7%)
CIE-LABlab(34.60, 60.13, -64.70)
CIE-LCHlch(34.60, 88.33, 312.90°)
OKLaboklab(46.38% 0.1118 -0.1849)
OKLCHoklch(46.38% 0.216 301.1)
XYZxyz(16.3785, 8.3005, 47.7433)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7123BB #6DBB23
analogous
#2523BB #7123BB #BB23B9
triadic
#7123BB #BB7123 #23BB71
tetradic
#7123BB #BB2523 #6DBB23 #23B9BB
square
#7123BB #BB2523 #6DBB23 #23B9BB
split-complementary
#7123BB #B9BB23 #23BB25
monochromatic
#331054 #521987 #7123BB #9040DB #AE74E5

Accessibility & contrast

On white

7.89
#7123BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7123BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7123BB
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7123BB#FFFFFF#000000##FFFFFF
##7123BB1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BF
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#604E70
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7123bb;
/* rgb */ color: rgb(113, 35, 187);
/* oklch */ color: oklch(46.4% 0.216 301.1);
Tailwind
colors: {
  custom: {
    50: '#a169d1',
    500: '#7123bb',
    950: '#000000',
  },
}
SCSS
$custom: #7123bb;
$custom-light: #a169d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7123bb",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 187
  },
  "hsl": {
    "h": 270.789,
    "s": 68.468,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46384,
    "c": 0.21609,
    "h": 301.1
  },
  "luminance": 0.08301
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7123BB

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

Preview Lab → · Contrast checker → · Palette generator →

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