#7150CC#7150CC

#7150CC is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.3% C 0.183 H 291.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#7150CC
RGBrgb(113, 80, 204)
HSLhsl(256, 55%, 56%)
HSVhsv(256, 61%, 80%)
CMYKcmyk(44.6%, 60.8%, 0%, 20%)
CIE-LABlab(43.66, 43.05, -59.87)
CIE-LCHlch(43.66, 73.74, 305.72°)
OKLaboklab(53.26% 0.0661 -0.1709)
OKLCHoklch(53.26% 0.183 291.1)
XYZxyz(20.5748, 13.6070, 58.6574)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150CC #ABCC50
analogous
#506DCC #7150CC #AF50CC
triadic
#7150CC #CC7150 #50CC71
tetradic
#7150CC #CC506D #ABCC50 #50CCAF
square
#7150CC #CC506D #ABCC50 #50CCAF
split-complementary
#7150CC #CCAF50 #6DCC50
monochromatic
#3C247D #5332AD #7150CC #977FDA #BEAFE8

Accessibility & contrast

On white

5.64
#7150CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7150CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7150CC
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150CC#FFFFFF#000000##FFFFFF
##7150CC1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#566C86
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7150cc;
/* rgb */ color: rgb(113, 80, 204);
/* oklch */ color: oklch(53.3% 0.183 291.1);
Tailwind
colors: {
  custom: {
    50: '#a082dc',
    500: '#7150cc',
    950: '#000000',
  },
}
SCSS
$custom: #7150cc;
$custom-light: #a082dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7150cc",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 204
  },
  "hsl": {
    "h": 255.968,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53259,
    "c": 0.18328,
    "h": 291.1
  },
  "luminance": 0.13608
}

Semantic roles & 50–950 ramp

primary
#7150CC
secondary
#C8D6A2
accent
#DE4AB7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7150CC

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

Preview Lab → · Contrast checker → · Palette generator →

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