#7150BC#7150BC

#7150BC is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.1% C 0.163 H 294.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7150BC
RGBrgb(113, 80, 188)
HSLhsl(258, 45%, 53%)
HSVhsv(258, 57%, 74%)
CMYKcmyk(39.9%, 57.4%, 0%, 26.3%)
CIE-LABlab(42.58, 38.59, -52.33)
CIE-LCHlch(42.58, 65.02, 306.40°)
OKLaboklab(52.12% 0.0666 -0.1488)
OKLCHoklch(52.12% 0.163 294.1)
XYZxyz(18.7534, 12.8784, 49.0649)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150BC #9BBC50
analogous
#5065BC #7150BC #A750BC
triadic
#7150BC #BC7150 #50BC71
tetradic
#7150BC #BC5065 #9BBC50 #50BCA7
square
#7150BC #BC5065 #9BBC50 #50BCA7
split-complementary
#7150BC #BCA750 #65BC50
monochromatic
#3C2869 #553996 #7150BC #957CCD #B9A9DE

Accessibility & contrast

On white

5.87
#7150BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7150BC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150BC#FFFFFF#000000##FFFFFF
##7150BC1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1366C0
Deuteranopia (green-blind)
#2163BA
Tritanopia (blue-blind)
#5E677E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7150bc;
/* rgb */ color: rgb(113, 80, 188);
/* oklch */ color: oklch(52.1% 0.163 294.1);
Tailwind
colors: {
  custom: {
    50: '#9e82d1',
    500: '#7150bc',
    950: '#000000',
  },
}
SCSS
$custom: #7150bc;
$custom-light: #9e82d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7150bc",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 188
  },
  "hsl": {
    "h": 258.333,
    "s": 44.628,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5212,
    "c": 0.163,
    "h": 294.1
  },
  "luminance": 0.12879
}

Semantic roles & 50–950 ramp

primary
#7150BC
secondary
#BDCB9C
accent
#D453AD
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #7150BC

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

Preview Lab → · Contrast checker → · Palette generator →

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