#7145BE#7145BE

#7145BE is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.6% C 0.181 H 296.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#7145BE
RGBrgb(113, 69, 190)
HSLhsl(262, 48%, 51%)
HSVhsv(262, 64%, 75%)
CMYKcmyk(40.5%, 63.7%, 0%, 25.5%)
CIE-LABlab(40.38, 45.31, -57.05)
CIE-LCHlch(40.38, 72.85, 308.46°)
OKLaboklab(50.56% 0.0794 -0.1626)
OKLCHoklch(50.56% 0.181 296)
XYZxyz(18.2300, 11.4843, 49.9614)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145BE #92BE45
analogous
#4555BE #7145BE #AD45BE
triadic
#7145BE #BE7145 #45BE71
tetradic
#7145BE #BE4555 #92BE45 #45BEAD
square
#7145BE #BE4555 #92BE45 #45BEAD
split-complementary
#7145BE #BEAD45 #55BE45
monochromatic
#3B2365 #563393 #7145BE #9472CE #B6A0DE

Accessibility & contrast

On white

6.37
#7145BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7145BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145BE
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145BE#FFFFFF#000000##FFFFFF
##7145BE1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#5E617B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7145be;
/* rgb */ color: rgb(113, 69, 190);
/* oklch */ color: oklch(50.6% 0.181 296.0);
Tailwind
colors: {
  custom: {
    50: '#9f7bd2',
    500: '#7145be',
    950: '#000000',
  },
}
SCSS
$custom: #7145be;
$custom-light: #9f7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7145be",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 261.818,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50561,
    "c": 0.18097,
    "h": 296
  },
  "luminance": 0.11485
}

Semantic roles & 50–950 ramp

primary
#7145BE
secondary
#B7CA95
accent
#D850A6
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7145BE

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

Preview Lab → · Contrast checker → · Palette generator →

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