#7150B7#7150B7

#7150B7 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 51.8% C 0.157 H 295.2°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#7150B7
RGBrgb(113, 80, 183)
HSLhsl(259, 42%, 52%)
HSVhsv(259, 56%, 72%)
CMYKcmyk(38.3%, 56.3%, 0%, 28.2%)
CIE-LABlab(42.26, 37.21, -49.93)
CIE-LCHlch(42.26, 62.27, 306.70°)
OKLaboklab(51.78% 0.0665 -0.1417)
OKLCHoklch(51.78% 0.157 295.2)
XYZxyz(18.2237, 12.6666, 46.2753)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150B7 #96B750
analogous
#5063B7 #7150B7 #A450B7
triadic
#7150B7 #B77150 #50B771
tetradic
#7150B7 #B75063 #96B750 #50B7A4
square
#7150B7 #B75063 #96B750 #50B7A4
split-complementary
#7150B7 #B7A450 #63B750
monochromatic
#3C2964 #563B8F #7150B7 #947BC9 #B7A7DB

Accessibility & contrast

On white

5.94
#7150B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7150B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7150B7
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150B7#FFFFFF#000000##FFFFFF
##7150B71.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D65BA
Deuteranopia (green-blind)
#2962B5
Tritanopia (blue-blind)
#60667C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7150b7;
/* rgb */ color: rgb(113, 80, 183);
/* oklch */ color: oklch(51.8% 0.157 295.2);
Tailwind
colors: {
  custom: {
    50: '#9e82cd',
    500: '#7150b7',
    950: '#000000',
  },
}
SCSS
$custom: #7150b7;
$custom-light: #9e82cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7150b7",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 183
  },
  "hsl": {
    "h": 259.223,
    "s": 41.7,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51778,
    "c": 0.15656,
    "h": 295.2
  },
  "luminance": 0.12667
}

Semantic roles & 50–950 ramp

primary
#7150B7
secondary
#BAC89B
accent
#D256AA
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #7150B7

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

Preview Lab → · Contrast checker → · Palette generator →

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