#7145BD#7145BD

#7145BD is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.5% C 0.180 H 296.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#7145BD
RGBrgb(113, 69, 189)
HSLhsl(262, 48%, 51%)
HSVhsv(262, 63%, 74%)
CMYKcmyk(40.2%, 63.5%, 0%, 25.9%)
CIE-LABlab(40.31, 45.05, -56.58)
CIE-LCHlch(40.31, 72.32, 308.53°)
OKLaboklab(50.49% 0.0794 -0.1613)
OKLCHoklch(50.49% 0.18 296.2)
XYZxyz(18.1211, 11.4407, 49.3878)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145BD #91BD45
analogous
#4555BD #7145BD #AD45BD
triadic
#7145BD #BD7145 #45BD71
tetradic
#7145BD #BD4555 #91BD45 #45BDAD
square
#7145BD #BD4555 #91BD45 #45BDAD
split-complementary
#7145BD #BDAD45 #55BD45
monochromatic
#3B2464 #563491 #7145BD #9372CD #B69FDD

Accessibility & contrast

On white

6.39
#7145BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7145BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145BD
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145BD#FFFFFF#000000##FFFFFF
##7145BD1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#5E607B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7145bd;
/* rgb */ color: rgb(113, 69, 189);
/* oklch */ color: oklch(50.5% 0.180 296.2);
Tailwind
colors: {
  custom: {
    50: '#9f7bd2',
    500: '#7145bd',
    950: '#000000',
  },
}
SCSS
$custom: #7145bd;
$custom-light: #9f7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7145bd",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 262,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50487,
    "c": 0.17977,
    "h": 296.2
  },
  "luminance": 0.11441
}

Semantic roles & 50–950 ramp

primary
#7145BD
secondary
#B6CA94
accent
#D751A6
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7145BD

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

Preview Lab → · Contrast checker → · Palette generator →

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