#7150CB#7150CB

#7150CB is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.2% C 0.182 H 291.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7150CB
RGBrgb(113, 80, 203)
HSLhsl(256, 54%, 55%)
HSVhsv(256, 61%, 80%)
CMYKcmyk(44.3%, 60.6%, 0%, 20.4%)
CIE-LABlab(43.59, 42.76, -59.40)
CIE-LCHlch(43.59, 73.20, 305.75°)
OKLaboklab(53.19% 0.0662 -0.1696)
OKLCHoklch(53.19% 0.182 291.3)
XYZxyz(20.4552, 13.5592, 58.0278)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150CB #AACB50
analogous
#506CCB #7150CB #AF50CB
triadic
#7150CB #CB7150 #50CB71
tetradic
#7150CB #CB506C #AACB50 #50CBAF
square
#7150CB #CB506C #AACB50 #50CBAF
split-complementary
#7150CB #CBAF50 #6CCB50
monochromatic
#3C257C #5333AB #7150CB #977FD9 #BEAEE7

Accessibility & contrast

On white

5.66
#7150CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7150CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7150CB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150CB#FFFFFF#000000##FFFFFF
##7150CB1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#576C86
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7150cb;
/* rgb */ color: rgb(113, 80, 203);
/* oklch */ color: oklch(53.2% 0.182 291.3);
Tailwind
colors: {
  custom: {
    50: '#a082dc',
    500: '#7150cb',
    950: '#000000',
  },
}
SCSS
$custom: #7150cb;
$custom-light: #a082dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7150cb",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 203
  },
  "hsl": {
    "h": 256.098,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53186,
    "c": 0.18203,
    "h": 291.3
  },
  "luminance": 0.1356
}

Semantic roles & 50–950 ramp

primary
#7150CB
secondary
#C7D5A2
accent
#DE4AB6
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7150CB

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

Preview Lab → · Contrast checker → · Palette generator →

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