#7150BB#7150BB

#7150BB is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.1% C 0.162 H 294.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7150BB
RGBrgb(113, 80, 187)
HSLhsl(259, 44%, 52%)
HSVhsv(259, 57%, 73%)
CMYKcmyk(39.6%, 57.2%, 0%, 26.7%)
CIE-LABlab(42.51, 38.31, -51.85)
CIE-LCHlch(42.51, 64.47, 306.46°)
OKLaboklab(52.05% 0.0666 -0.1474)
OKLCHoklch(52.05% 0.162 294.3)
XYZxyz(18.6460, 12.8355, 48.4992)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150BB #9ABB50
analogous
#5064BB #7150BB #A750BB
triadic
#7150BB #BB7150 #50BB71
tetradic
#7150BB #BB5064 #9ABB50 #50BBA7
square
#7150BB #BB5064 #9ABB50 #50BBA7
split-complementary
#7150BB #BBA750 #64BB50
monochromatic
#3C2868 #563A94 #7150BB #957CCC #B9A8DD

Accessibility & contrast

On white

5.89
#7150BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7150BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7150BB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150BB#FFFFFF#000000##FFFFFF
##7150BB1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1665BF
Deuteranopia (green-blind)
#2363B9
Tritanopia (blue-blind)
#5E677E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7150bb;
/* rgb */ color: rgb(113, 80, 187);
/* oklch */ color: oklch(52.1% 0.162 294.3);
Tailwind
colors: {
  custom: {
    50: '#9e82d0',
    500: '#7150bb',
    950: '#000000',
  },
}
SCSS
$custom: #7150bb;
$custom-light: #9e82d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7150bb",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 187
  },
  "hsl": {
    "h": 258.505,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52051,
    "c": 0.16172,
    "h": 294.3
  },
  "luminance": 0.12836
}

Semantic roles & 50–950 ramp

primary
#7150BB
secondary
#BCCB9C
accent
#D454AC
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #7150BB

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

Preview Lab → · Contrast checker → · Palette generator →

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