#7150BF#7150BF

#7150BF is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.3% C 0.167 H 293.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#7150BF
RGBrgb(113, 80, 191)
HSLhsl(258, 46%, 53%)
HSVhsv(258, 58%, 75%)
CMYKcmyk(40.8%, 58.1%, 0%, 25.1%)
CIE-LABlab(42.78, 39.42, -53.76)
CIE-LCHlch(42.78, 66.67, 306.25°)
OKLaboklab(52.33% 0.0666 -0.153)
OKLCHoklch(52.33% 0.167 293.5)
XYZxyz(19.0802, 13.0091, 50.7858)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150BF #9EBF50
analogous
#5066BF #7150BF #A950BF
triadic
#7150BF #BF7150 #50BF71
tetradic
#7150BF #BF5066 #9EBF50 #50BFA9
square
#7150BF #BF5066 #9EBF50 #50BFA9
split-complementary
#7150BF #BFA950 #66BF50
monochromatic
#3C286D #55389A #7150BF #957DCF #BAAAE0

Accessibility & contrast

On white

5.83
#7150BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#7150BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7150BF
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150BF#FFFFFF#000000##FFFFFF
##7150BF1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0966C3
Deuteranopia (green-blind)
#1B63BD
Tritanopia (blue-blind)
#5C6880
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7150bf;
/* rgb */ color: rgb(113, 80, 191);
/* oklch */ color: oklch(52.3% 0.167 293.5);
Tailwind
colors: {
  custom: {
    50: '#9f82d3',
    500: '#7150bf',
    950: '#000000',
  },
}
SCSS
$custom: #7150bf;
$custom-light: #9f82d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7150bf",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 191
  },
  "hsl": {
    "h": 257.838,
    "s": 46.444,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52328,
    "c": 0.16685,
    "h": 293.5
  },
  "luminance": 0.1301
}

Semantic roles & 50–950 ramp

primary
#7150BF
secondary
#BFCD9D
accent
#D652AF
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #7150BF

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

Preview Lab → · Contrast checker → · Palette generator →

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