#7123BE#7123BE

#7123BE is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.6% C 0.219 H 300.4°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#7123BE
RGBrgb(113, 35, 190)
HSLhsl(270, 69%, 44%)
HSVhsv(270, 82%, 75%)
CMYKcmyk(40.5%, 81.6%, 0%, 25.5%)
CIE-LABlab(34.86, 60.82, -66.04)
CIE-LCHlch(34.86, 89.78, 312.65°)
OKLaboklab(46.65% 0.1108 -0.1889)
OKLCHoklch(46.65% 0.219 300.4)
XYZxyz(16.7030, 8.4303, 49.4524)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7123BE #70BE23
analogous
#2423BE #7123BE #BE23BE
triadic
#7123BE #BE7123 #23BE71
tetradic
#7123BE #BE2423 #70BE23 #23BEBE
square
#7123BE #BE2423 #70BE23 #23BEBE
split-complementary
#7123BE #BEBE23 #23BE24
monochromatic
#341057 #52198A #7123BE #9042DC #AE76E6

Accessibility & contrast

On white

7.82
#7123BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7123BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7123BE
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7123BE#FFFFFF#000000##FFFFFF
##7123BE1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C2
Deuteranopia (green-blind)
#0051BB
Tritanopia (blue-blind)
#5F4F72
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7123be;
/* rgb */ color: rgb(113, 35, 190);
/* oklch */ color: oklch(46.6% 0.219 300.4);
Tailwind
colors: {
  custom: {
    50: '#a169d3',
    500: '#7123be',
    950: '#000000',
  },
}
SCSS
$custom: #7123be;
$custom-light: #a169d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7123be",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 190
  },
  "hsl": {
    "h": 270.194,
    "s": 68.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46646,
    "c": 0.21899,
    "h": 300.4
  },
  "luminance": 0.0843
}

Semantic roles & 50–950 ramp

primary
#7123BE
secondary
#9ECD70
accent
#EC3C93
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7123BE

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

Preview Lab → · Contrast checker → · Palette generator →

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