#7123A8#7123A8

#7123A8 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.8% C 0.198 H 306.3°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#7123A8
RGBrgb(113, 35, 168)
HSLhsl(275, 66%, 40%)
HSVhsv(275, 79%, 66%)
CMYKcmyk(32.7%, 79.2%, 0%, 34.1%)
CIE-LABlab(33.01, 55.79, -55.98)
CIE-LCHlch(33.01, 79.04, 314.90°)
OKLaboklab(44.78% 0.1171 -0.1593)
OKLCHoklch(44.78% 0.198 306.3)
XYZxyz(14.4774, 7.5401, 37.7309)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7123A8 #5AA823
analogous
#2F23A8 #7123A8 #A8239D
triadic
#7123A8 #A87123 #23A871
tetradic
#7123A8 #A82F23 #5AA823 #239DA8
square
#7123A8 #A82F23 #5AA823 #239DA8
split-complementary
#7123A8 #9DA823 #23A82F
monochromatic
#2D0E43 #4F1875 #7123A8 #9234D5 #AD66DF

Accessibility & contrast

On white

8.37
#7123A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7123A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7123A8
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7123A8#FFFFFF#000000##FFFFFF
##7123A81.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#004EA5
Tritanopia (blue-blind)
#674665
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7123a8;
/* rgb */ color: rgb(113, 35, 168);
/* oklch */ color: oklch(44.8% 0.198 306.3);
Tailwind
colors: {
  custom: {
    50: '#9f68c3',
    500: '#7123a8',
    950: '#000000',
  },
}
SCSS
$custom: #7123a8;
$custom-light: #9f68c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7123a8",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 168
  },
  "hsl": {
    "h": 275.188,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4478,
    "c": 0.19776,
    "h": 306.3
  },
  "luminance": 0.0754
}

Semantic roles & 50–950 ramp

primary
#7123A8
secondary
#8BC562
accent
#E83F85
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7123A8

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

Preview Lab → · Contrast checker → · Palette generator →

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