#7123B1#7123B1

#7123B1 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.5% C 0.206 H 303.8°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#7123B1
RGBrgb(113, 35, 177)
HSLhsl(273, 67%, 42%)
HSVhsv(273, 80%, 69%)
CMYKcmyk(36.2%, 80.2%, 0%, 30.6%)
CIE-LABlab(33.75, 57.83, -60.16)
CIE-LCHlch(33.75, 83.45, 313.87°)
OKLaboklab(45.53% 0.1147 -0.1716)
OKLCHoklch(45.53% 0.206 303.8)
XYZxyz(15.3450, 7.8871, 42.3004)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7123B1 #63B123
analogous
#2A23B1 #7123B1 #B123AA
triadic
#7123B1 #B17123 #23B171
tetradic
#7123B1 #B12A23 #63B123 #23AAB1
square
#7123B1 #B12A23 #63B123 #23AAB1
split-complementary
#7123B1 #AAB123 #23B12A
monochromatic
#300F4B #50197E #7123B1 #9039D8 #AD6CE2

Accessibility & contrast

On white

8.15
#7123B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7123B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7123B1
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7123B1#FFFFFF#000000##FFFFFF
##7123B11.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB5
Deuteranopia (green-blind)
#004FAE
Tritanopia (blue-blind)
#644A6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7123b1;
/* rgb */ color: rgb(113, 35, 177);
/* oklch */ color: oklch(45.5% 0.206 303.8);
Tailwind
colors: {
  custom: {
    50: '#a068c9',
    500: '#7123b1',
    950: '#000000',
  },
}
SCSS
$custom: #7123b1;
$custom-light: #a068c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7123b1",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 177
  },
  "hsl": {
    "h": 272.958,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45527,
    "c": 0.20644,
    "h": 303.8
  },
  "luminance": 0.07887
}

Semantic roles & 50–950 ramp

primary
#7123B1
secondary
#93C868
accent
#EA3E8B
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7123B1

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

Preview Lab → · Contrast checker → · Palette generator →

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