#7145BC#7145BC

#7145BC is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.4% C 0.179 H 296.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#7145BC
RGBrgb(113, 69, 188)
HSLhsl(262, 47%, 50%)
HSVhsv(262, 63%, 74%)
CMYKcmyk(39.9%, 63.3%, 0%, 26.3%)
CIE-LABlab(40.24, 44.78, -56.11)
CIE-LCHlch(40.24, 71.78, 308.59°)
OKLaboklab(50.41% 0.0795 -0.1599)
OKLCHoklch(50.41% 0.179 296.4)
XYZxyz(18.0129, 11.3975, 48.8181)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145BC #90BC45
analogous
#4554BC #7145BC #AD45BC
triadic
#7145BC #BC7145 #45BC71
tetradic
#7145BC #BC4554 #90BC45 #45BCAD
square
#7145BC #BC4554 #90BC45 #45BCAD
split-complementary
#7145BC #BCAD45 #54BC45
monochromatic
#3B2463 #563490 #7145BC #9372CC #B69FDC

Accessibility & contrast

On white

6.40
#7145BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7145BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145BC
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145BC#FFFFFF#000000##FFFFFF
##7145BC1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#5E607A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7145bc;
/* rgb */ color: rgb(113, 69, 188);
/* oklch */ color: oklch(50.4% 0.179 296.4);
Tailwind
colors: {
  custom: {
    50: '#9f7bd1',
    500: '#7145bc',
    950: '#000000',
  },
}
SCSS
$custom: #7145bc;
$custom-light: #9f7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7145bc",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 262.185,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50413,
    "c": 0.17856,
    "h": 296.4
  },
  "luminance": 0.11398
}

Semantic roles & 50–950 ramp

primary
#7145BC
secondary
#B5C994
accent
#D751A5
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #7145BC

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

Preview Lab → · Contrast checker → · Palette generator →

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