#7148B7#7148B7

#7148B7 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.5% C 0.168 H 297.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#7148B7
RGBrgb(113, 72, 183)
HSLhsl(262, 44%, 50%)
HSVhsv(262, 61%, 72%)
CMYKcmyk(38.3%, 60.7%, 0%, 28.2%)
CIE-LABlab(40.51, 41.78, -52.73)
CIE-LCHlch(40.51, 67.28, 308.39°)
OKLaboklab(50.5% 0.0763 -0.15)
OKLCHoklch(50.5% 0.168 297)
XYZxyz(17.6725, 11.5640, 46.0916)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7148B7 #8EB748
analogous
#4857B7 #7148B7 #A848B7
triadic
#7148B7 #B77148 #48B771
tetradic
#7148B7 #B74857 #8EB748 #48B7A8
square
#7148B7 #B74857 #8EB748 #48B7A8
split-complementary
#7148B7 #B7A848 #57B748
monochromatic
#3B255F #56378B #7148B7 #9374C8 #B5A0DA

Accessibility & contrast

On white

6.34
#7148B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7148B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7148B7
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7148B7#FFFFFF#000000##FFFFFF
##7148B71.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#175EB5
Tritanopia (blue-blind)
#606078
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7148b7;
/* rgb */ color: rgb(113, 72, 183);
/* oklch */ color: oklch(50.5% 0.168 297.0);
Tailwind
colors: {
  custom: {
    50: '#9e7dcd',
    500: '#7148b7',
    950: '#000000',
  },
}
SCSS
$custom: #7148b7;
$custom-light: #9e7dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#7148b7",
  "rgb": {
    "r": 113,
    "g": 72,
    "b": 183
  },
  "hsl": {
    "h": 262.162,
    "s": 43.529,
    "l": 50
  },
  "oklch": {
    "l": 0.50501,
    "c": 0.16827,
    "h": 297
  },
  "luminance": 0.11564
}

Semantic roles & 50–950 ramp

primary
#7148B7
secondary
#B4C695
accent
#D355A4
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #7148B7

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

Preview Lab → · Contrast checker → · Palette generator →

#7148B7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva