#7145B2#7145B2

#7145B2 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.7% C 0.166 H 298.8°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#7145B2
RGBrgb(113, 69, 178)
HSLhsl(264, 44%, 48%)
HSVhsv(264, 61%, 70%)
CMYKcmyk(36.5%, 61.2%, 0%, 30.2%)
CIE-LABlab(39.55, 42.13, -51.34)
CIE-LCHlch(39.55, 66.41, 309.37°)
OKLaboklab(49.69% 0.0802 -0.1459)
OKLCHoklch(49.69% 0.166 298.8)
XYZxyz(16.9721, 10.9811, 43.3362)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145B2 #86B245
analogous
#454FB2 #7145B2 #A745B2
triadic
#7145B2 #B27145 #45B271
tetradic
#7145B2 #B2454F #86B245 #45B2A7
square
#7145B2 #B2454F #86B245 #45B2A7
split-complementary
#7145B2 #B2A745 #4FB245
monochromatic
#39235A #553486 #7145B2 #926EC7 #B39AD8

Accessibility & contrast

On white

6.57
#7145B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7145B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145B2
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145B2#FFFFFF#000000##FFFFFF
##7145B21.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#1A5CB0
Tritanopia (blue-blind)
#625C75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7145b2;
/* rgb */ color: rgb(113, 69, 178);
/* oklch */ color: oklch(49.7% 0.166 298.8);
Tailwind
colors: {
  custom: {
    50: '#9e7bca',
    500: '#7145b2',
    950: '#000000',
  },
}
SCSS
$custom: #7145b2;
$custom-light: #9e7bca;
$custom-dark: #000000;
JSON
{
  "hex": "#7145b2",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 264.22,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49689,
    "c": 0.16644,
    "h": 298.8
  },
  "luminance": 0.10981
}

Semantic roles & 50–950 ramp

primary
#7145B2
secondary
#AEC48F
accent
#D454A0
background
#FAF7FC
surface
#F3EEF8
border
#CDC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7145B2

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

Preview Lab → · Contrast checker → · Palette generator →

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