#7145BB#7145BB

#7145BB is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.3% C 0.177 H 296.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#7145BB
RGBrgb(113, 69, 187)
HSLhsl(262, 46%, 50%)
HSVhsv(262, 63%, 73%)
CMYKcmyk(39.6%, 63.1%, 0%, 26.7%)
CIE-LABlab(40.17, 44.51, -55.63)
CIE-LCHlch(40.17, 71.25, 308.66°)
OKLaboklab(50.34% 0.0796 -0.1585)
OKLCHoklch(50.34% 0.177 296.7)
XYZxyz(17.9055, 11.3545, 48.2523)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145BB #8FBB45
analogous
#4554BB #7145BB #AC45BB
triadic
#7145BB #BB7145 #45BB71
tetradic
#7145BB #BB4554 #8FBB45 #45BBAC
square
#7145BB #BB4554 #8FBB45 #45BBAC
split-complementary
#7145BB #BBAC45 #54BB45
monochromatic
#3B2462 #56348F #7145BB #9372CB #B59FDC

Accessibility & contrast

On white

6.42
#7145BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7145BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145BB
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145BB#FFFFFF#000000##FFFFFF
##7145BB1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#5F607A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7145bb;
/* rgb */ color: rgb(113, 69, 187);
/* oklch */ color: oklch(50.3% 0.177 296.7);
Tailwind
colors: {
  custom: {
    50: '#9f7bd0',
    500: '#7145bb',
    950: '#000000',
  },
}
SCSS
$custom: #7145bb;
$custom-light: #9f7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7145bb",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 262.373,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50339,
    "c": 0.17736,
    "h": 296.7
  },
  "luminance": 0.11355
}

Semantic roles & 50–950 ramp

primary
#7145BB
secondary
#B5C894
accent
#D652A5
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #7145BB

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

Preview Lab → · Contrast checker → · Palette generator →

#7145BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva