#7150BD#7150BD

#7150BD is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.2% C 0.164 H 293.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7150BD
RGBrgb(113, 80, 189)
HSLhsl(258, 45%, 53%)
HSVhsv(258, 58%, 74%)
CMYKcmyk(40.2%, 57.7%, 0%, 25.9%)
CIE-LABlab(42.65, 38.86, -52.81)
CIE-LCHlch(42.65, 65.57, 306.35°)
OKLaboklab(52.19% 0.0666 -0.1502)
OKLCHoklch(52.19% 0.164 293.9)
XYZxyz(18.8616, 12.9217, 49.6346)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150BD #9CBD50
analogous
#5066BD #7150BD #A750BD
triadic
#7150BD #BD7150 #50BD71
tetradic
#7150BD #BD5066 #9CBD50 #50BDA7
square
#7150BD #BD5066 #9CBD50 #50BDA7
split-complementary
#7150BD #BDA750 #66BD50
monochromatic
#3C286A #553997 #7150BD #957CCE #B9A9DF

Accessibility & contrast

On white

5.86
#7150BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7150BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7150BD
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150BD#FFFFFF#000000##FFFFFF
##7150BD1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1066C1
Deuteranopia (green-blind)
#1F63BB
Tritanopia (blue-blind)
#5D677F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7150bd;
/* rgb */ color: rgb(113, 80, 189);
/* oklch */ color: oklch(52.2% 0.164 293.9);
Tailwind
colors: {
  custom: {
    50: '#9f82d1',
    500: '#7150bd',
    950: '#000000',
  },
}
SCSS
$custom: #7150bd;
$custom-light: #9f82d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7150bd",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 189
  },
  "hsl": {
    "h": 258.165,
    "s": 45.228,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52189,
    "c": 0.16428,
    "h": 293.9
  },
  "luminance": 0.12922
}

Semantic roles & 50–950 ramp

primary
#7150BD
secondary
#BECC9D
accent
#D553AE
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #7150BD

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

Preview Lab → · Contrast checker → · Palette generator →

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