#7149BA#7149BA

#7149BA is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.9% C 0.171 H 296.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#7149BA
RGBrgb(113, 73, 186)
HSLhsl(261, 45%, 51%)
HSVhsv(261, 61%, 73%)
CMYKcmyk(39.2%, 60.8%, 0%, 27.1%)
CIE-LABlab(40.93, 42.03, -53.82)
CIE-LCHlch(40.93, 68.29, 307.99°)
OKLaboklab(50.87% 0.075 -0.1532)
OKLCHoklch(50.87% 0.171 296.1)
XYZxyz(18.0532, 11.8206, 47.7753)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7149BA #92BA49
analogous
#4959BA #7149BA #A949BA
triadic
#7149BA #BA7149 #49BA71
tetradic
#7149BA #BA4959 #92BA49 #49BAA9
square
#7149BA #BA4959 #92BA49 #49BAA9
split-complementary
#7149BA #BAA949 #59BA49
monochromatic
#3B2663 #56368F #7149BA #9475CB #B6A2DC

Accessibility & contrast

On white

6.24
#7149BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7149BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7149BA
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7149BA#FFFFFF#000000##FFFFFF
##7149BA1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#125FB8
Tritanopia (blue-blind)
#5F627A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7149ba;
/* rgb */ color: rgb(113, 73, 186);
/* oklch */ color: oklch(50.9% 0.171 296.1);
Tailwind
colors: {
  custom: {
    50: '#9f7dcf',
    500: '#7149ba',
    950: '#000000',
  },
}
SCSS
$custom: #7149ba;
$custom-light: #9f7dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7149ba",
  "rgb": {
    "r": 113,
    "g": 73,
    "b": 186
  },
  "hsl": {
    "h": 261.239,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50869,
    "c": 0.17056,
    "h": 296.1
  },
  "luminance": 0.11821
}

Semantic roles & 50–950 ramp

primary
#7149BA
secondary
#B7C896
accent
#D553A7
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #7149BA

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

Preview Lab → · Contrast checker → · Palette generator →

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