#7150BE#7150BE

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

Color values

HEX#7150BE
RGBrgb(113, 80, 190)
HSLhsl(258, 46%, 53%)
HSVhsv(258, 58%, 75%)
CMYKcmyk(40.5%, 57.9%, 0%, 25.5%)
CIE-LABlab(42.71, 39.14, -53.29)
CIE-LCHlch(42.71, 66.12, 306.30°)
OKLaboklab(52.26% 0.0666 -0.1516)
OKLCHoklch(52.26% 0.166 293.7)
XYZxyz(18.9705, 12.9653, 50.2083)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150BE #9DBE50
analogous
#5066BE #7150BE #A850BE
triadic
#7150BE #BE7150 #50BE71
tetradic
#7150BE #BE5066 #9DBE50 #50BEA8
square
#7150BE #BE5066 #9DBE50 #50BEA8
split-complementary
#7150BE #BEA850 #66BE50
monochromatic
#3C286C #553998 #7150BE #957DCF #B9A9DF

Accessibility & contrast

On white

5.84
#7150BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7150BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7150BE
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150BE#FFFFFF#000000##FFFFFF
##7150BE1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D66C2
Deuteranopia (green-blind)
#1D63BC
Tritanopia (blue-blind)
#5D687F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7150be;
/* rgb */ color: rgb(113, 80, 190);
/* oklch */ color: oklch(52.3% 0.166 293.7);
Tailwind
colors: {
  custom: {
    50: '#9f82d2',
    500: '#7150be',
    950: '#000000',
  },
}
SCSS
$custom: #7150be;
$custom-light: #9f82d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7150be",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 190
  },
  "hsl": {
    "h": 258,
    "s": 45.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52258,
    "c": 0.16557,
    "h": 293.7
  },
  "luminance": 0.12966
}

Semantic roles & 50–950 ramp

primary
#7150BE
secondary
#BECD9D
accent
#D552AE
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #7150BE

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

Preview Lab → · Contrast checker → · Palette generator →

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