#7231B9#7231B9

#7231B9 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.7% C 0.200 H 300.7°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#7231B9
RGBrgb(114, 49, 185)
HSLhsl(269, 58%, 46%)
HSVhsv(269, 74%, 73%)
CMYKcmyk(38.4%, 73.5%, 0%, 27.5%)
CIE-LABlab(36.51, 54.22, -60.39)
CIE-LCHlch(36.51, 81.16, 311.92°)
OKLaboklab(47.7% 0.1022 -0.1724)
OKLCHoklch(47.7% 0.2 300.7)
XYZxyz(16.7925, 9.2767, 46.7954)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7231B9 #78B931
analogous
#3134B9 #7231B9 #B631B9
triadic
#7231B9 #B97231 #31B972
tetradic
#7231B9 #B93134 #78B931 #31B9B6
square
#7231B9 #B93134 #78B931 #31B9B6
split-complementary
#7231B9 #B9B631 #34B931
monochromatic
#361758 #542489 #7231B9 #9155D2 #B086DF

Accessibility & contrast

On white

7.35
#7231B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7231B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7231B9
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7231B9#FFFFFF#000000##FFFFFF
##7231B91.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#0055B6
Tritanopia (blue-blind)
#625372
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7231b9;
/* rgb */ color: rgb(114, 49, 185);
/* oklch */ color: oklch(47.7% 0.200 300.7);
Tailwind
colors: {
  custom: {
    50: '#a16fcf',
    500: '#7231b9',
    950: '#000000',
  },
}
SCSS
$custom: #7231b9;
$custom-light: #a16fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7231b9",
  "rgb": {
    "r": 114,
    "g": 49,
    "b": 185
  },
  "hsl": {
    "h": 268.676,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47698,
    "c": 0.2004,
    "h": 300.7
  },
  "luminance": 0.09277
}

Semantic roles & 50–950 ramp

primary
#7231B9
secondary
#A5C87D
accent
#E14697
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7231B9

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

Preview Lab → · Contrast checker → · Palette generator →

#7231B9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva