#7150C8#7150C8

#7150C8 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.0% C 0.178 H 291.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7150C8
RGBrgb(113, 80, 200)
HSLhsl(257, 52%, 55%)
HSVhsv(257, 60%, 78%)
CMYKcmyk(43.5%, 60%, 0%, 21.6%)
CIE-LABlab(43.39, 41.92, -58.01)
CIE-LCHlch(43.39, 71.57, 305.86°)
OKLaboklab(52.97% 0.0663 -0.1655)
OKLCHoklch(52.97% 0.178 291.8)
XYZxyz(20.1012, 13.4175, 56.1631)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150C8 #A7C850
analogous
#506BC8 #7150C8 #AD50C8
triadic
#7150C8 #C87150 #50C871
tetradic
#7150C8 #C8506B #A7C850 #50C8AD
square
#7150C8 #C8506B #A7C850 #50C8AD
split-complementary
#7150C8 #C8AD50 #6BC850
monochromatic
#3C2678 #5434A6 #7150C8 #977FD7 #BDADE5

Accessibility & contrast

On white

5.70
#7150C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7150C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7150C8
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150C8#FFFFFF#000000##FFFFFF
##7150C81.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#0064C5
Tritanopia (blue-blind)
#586B84
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7150c8;
/* rgb */ color: rgb(113, 80, 200);
/* oklch */ color: oklch(53.0% 0.178 291.8);
Tailwind
colors: {
  custom: {
    50: '#a082d9',
    500: '#7150c8',
    950: '#000000',
  },
}
SCSS
$custom: #7150c8;
$custom-light: #a082d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7150c8",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 256.5,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52968,
    "c": 0.17826,
    "h": 291.8
  },
  "luminance": 0.13418
}

Semantic roles & 50–950 ramp

primary
#7150C8
secondary
#C5D3A1
accent
#DC4CB4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #7150C8

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

Preview Lab → · Contrast checker → · Palette generator →

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