#9123D4#9123D4

#9123D4 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.5% C 0.245 H 307.5°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9123D4
RGBrgb(145, 35, 212)
HSLhsl(277, 72%, 48%)
HSVhsv(277, 83%, 83%)
CMYKcmyk(31.6%, 83.5%, 0%, 16.9%)
CIE-LABlab(41.18, 70.27, -68.35)
CIE-LCHlch(41.18, 98.03, 315.79°)
OKLaboklab(52.52% 0.1494 -0.1946)
OKLCHoklch(52.52% 0.245 307.5)
XYZxyz(24.1592, 11.9756, 63.3134)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9123D4 #66D423
analogous
#3823D4 #9123D4 #D423BE
triadic
#9123D4 #D49123 #23D491
tetradic
#9123D4 #D43823 #66D423 #23BED4
square
#9123D4 #D43823 #66D423 #23BED4
split-complementary
#9123D4 #BED423 #23D438
monochromatic
#49126B #6D1A9F #9123D4 #AC52E2 #C586EB

Accessibility & contrast

On white

6.19
#9123D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9123D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9123D4
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9123D4#FFFFFF#000000##FFFFFF
##9123D41.006.193.406.19
#FFFFFF6.191.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED9
Deuteranopia (green-blind)
#0062D1
Tritanopia (blue-blind)
#86557F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9123d4;
/* rgb */ color: rgb(145, 35, 212);
/* oklch */ color: oklch(52.5% 0.245 307.5);
Tailwind
colors: {
  custom: {
    50: '#b86ee2',
    500: '#9123d4',
    950: '#000000',
  },
}
SCSS
$custom: #9123d4;
$custom-light: #b86ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#9123d4",
  "rgb": {
    "r": 145,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 277.288,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52523,
    "c": 0.2453,
    "h": 307.5
  },
  "luminance": 0.11975
}

Semantic roles & 50–950 ramp

primary
#9123D4
secondary
#9FD47E
accent
#EE397E
background
#FBF7FE
surface
#F7EDFC
border
#D0C8D5
text
#120816
muted
#817B84

Preview Lab

Preview with #9123D4

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

Preview Lab → · Contrast checker → · Palette generator →

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