#7145BF#7145BF

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

Color values

HEX#7145BF
RGBrgb(113, 69, 191)
HSLhsl(262, 49%, 51%)
HSVhsv(262, 64%, 75%)
CMYKcmyk(40.8%, 63.9%, 0%, 25.1%)
CIE-LABlab(40.46, 45.58, -57.51)
CIE-LCHlch(40.46, 73.39, 308.40°)
OKLaboklab(50.64% 0.0793 -0.164)
OKLCHoklch(50.64% 0.182 295.8)
XYZxyz(18.3397, 11.5282, 50.5390)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145BF #93BF45
analogous
#4556BF #7145BF #AE45BF
triadic
#7145BF #BF7145 #45BF71
tetradic
#7145BF #BF4556 #93BF45 #45BFAE
square
#7145BF #BF4556 #93BF45 #45BFAE
split-complementary
#7145BF #BFAE45 #56BF45
monochromatic
#3B2366 #563394 #7145BF #9473CF #B7A0DE

Accessibility & contrast

On white

6.35
#7145BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7145BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145BF
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145BF#FFFFFF#000000##FFFFFF
##7145BF1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#5D617C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7145bf;
/* rgb */ color: rgb(113, 69, 191);
/* oklch */ color: oklch(50.6% 0.182 295.8);
Tailwind
colors: {
  custom: {
    50: '#9f7bd3',
    500: '#7145bf',
    950: '#000000',
  },
}
SCSS
$custom: #7145bf;
$custom-light: #9f7bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7145bf",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 261.639,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50636,
    "c": 0.18217,
    "h": 295.8
  },
  "luminance": 0.11529
}

Semantic roles & 50–950 ramp

primary
#7145BF
secondary
#B7CB95
accent
#D84FA7
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7145BF

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

Preview Lab → · Contrast checker → · Palette generator →

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