#7123D4#7123D4

#7123D4 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.6% C 0.240 H 295.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#7123D4
RGBrgb(113, 35, 212)
HSLhsl(266, 72%, 48%)
HSVhsv(266, 83%, 83%)
CMYKcmyk(46.7%, 83.5%, 0%, 16.9%)
CIE-LABlab(36.87, 65.97, -75.58)
CIE-LCHlch(36.87, 100.33, 311.12°)
OKLaboklab(48.64% 0.1034 -0.2168)
OKLCHoklch(48.64% 0.24 295.5)
XYZxyz(19.2915, 9.4657, 63.0852)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7123D4 #86D423
analogous
#232DD4 #7123D4 #C923D4
triadic
#7123D4 #D47123 #23D471
tetradic
#7123D4 #D4232D #86D423 #23D4C9
square
#7123D4 #D4232D #86D423 #23D4C9
split-complementary
#7123D4 #D4C923 #2DD423
monochromatic
#39126B #551A9F #7123D4 #9252E2 #B386EB

Accessibility & contrast

On white

7.26
#7123D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7123D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7123D4
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7123D4#FFFFFF#000000##FFFFFF
##7123D41.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D9
Deuteranopia (green-blind)
#0054D1
Tritanopia (blue-blind)
#54597F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7123d4;
/* rgb */ color: rgb(113, 35, 212);
/* oklch */ color: oklch(48.6% 0.240 295.5);
Tailwind
colors: {
  custom: {
    50: '#a46ae3',
    500: '#7123d4',
    950: '#000000',
  },
}
SCSS
$custom: #7123d4;
$custom-light: #a46ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#7123d4",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 266.441,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48636,
    "c": 0.24022,
    "h": 295.5
  },
  "luminance": 0.09466
}

Semantic roles & 50–950 ramp

primary
#7123D4
secondary
#AED47E
accent
#EE399F
background
#FAF6FE
surface
#F4ECFC
border
#CEC7D5
text
#100716
muted
#7F7A84

Preview Lab

Preview with #7123D4

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

Preview Lab → · Contrast checker → · Palette generator →

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