#7123BD#7123BD

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

Color values

HEX#7123BD
RGBrgb(113, 35, 189)
HSLhsl(270, 69%, 44%)
HSVhsv(270, 81%, 74%)
CMYKcmyk(40.2%, 81.5%, 0%, 25.9%)
CIE-LABlab(34.78, 60.59, -65.59)
CIE-LCHlch(34.78, 89.30, 312.73°)
OKLaboklab(46.56% 0.1111 -0.1876)
OKLCHoklch(46.56% 0.218 300.6)
XYZxyz(16.5941, 8.3867, 48.8788)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7123BD #6FBD23
analogous
#2423BD #7123BD #BD23BC
triadic
#7123BD #BD7123 #23BD71
tetradic
#7123BD #BD2423 #6FBD23 #23BCBD
square
#7123BD #BD2423 #6FBD23 #23BCBD
split-complementary
#7123BD #BCBD23 #23BD24
monochromatic
#331056 #521989 #7123BD #9041DC #AE75E5

Accessibility & contrast

On white

7.84
#7123BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7123BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7123BD
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7123BD#FFFFFF#000000##FFFFFF
##7123BD1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7123bd;
/* rgb */ color: rgb(113, 35, 189);
/* oklch */ color: oklch(46.6% 0.218 300.6);
Tailwind
colors: {
  custom: {
    50: '#a169d2',
    500: '#7123bd',
    950: '#000000',
  },
}
SCSS
$custom: #7123bd;
$custom-light: #a169d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7123bd",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 189
  },
  "hsl": {
    "h": 270.39,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46559,
    "c": 0.21802,
    "h": 300.6
  },
  "luminance": 0.08387
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7123BD

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

Preview Lab → · Contrast checker → · Palette generator →

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