#7149BC#7149BC

#7149BC is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.0% C 0.173 H 295.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#7149BC
RGBrgb(113, 73, 188)
HSLhsl(261, 46%, 51%)
HSVhsv(261, 61%, 74%)
CMYKcmyk(39.9%, 61.2%, 0%, 26.3%)
CIE-LABlab(41.07, 42.57, -54.77)
CIE-LCHlch(41.07, 69.37, 307.85°)
OKLaboklab(51.01% 0.0749 -0.156)
OKLCHoklch(51.01% 0.173 295.7)
XYZxyz(18.2673, 11.9063, 48.9029)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7149BC #94BC49
analogous
#495ABC #7149BC #AB49BC
triadic
#7149BC #BC7149 #49BC71
tetradic
#7149BC #BC495A #94BC49 #49BCAB
square
#7149BC #BC495A #94BC49 #49BCAB
split-complementary
#7149BC #BCAB49 #5ABC49
monochromatic
#3C2565 #563692 #7149BC #9476CC #B7A2DD

Accessibility & contrast

On white

6.21
#7149BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7149BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7149BC
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7149BC#FFFFFF#000000##FFFFFF
##7149BC1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#0B5FBA
Tritanopia (blue-blind)
#5E627B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7149bc;
/* rgb */ color: rgb(113, 73, 188);
/* oklch */ color: oklch(51.0% 0.173 295.7);
Tailwind
colors: {
  custom: {
    50: '#9f7ed1',
    500: '#7149bc',
    950: '#000000',
  },
}
SCSS
$custom: #7149bc;
$custom-light: #9f7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#7149bc",
  "rgb": {
    "r": 113,
    "g": 73,
    "b": 188
  },
  "hsl": {
    "h": 260.87,
    "s": 46.185,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51012,
    "c": 0.17302,
    "h": 295.7
  },
  "luminance": 0.11907
}

Semantic roles & 50–950 ramp

primary
#7149BC
secondary
#B8CA97
accent
#D652A8
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #7149BC

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

Preview Lab → · Contrast checker → · Palette generator →

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