#7150CD#7150CD

#7150CD is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.3% C 0.185 H 291.0°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7150CD
RGBrgb(113, 80, 205)
HSLhsl(256, 56%, 56%)
HSVhsv(256, 61%, 80%)
CMYKcmyk(44.9%, 61%, 0%, 19.6%)
CIE-LABlab(43.73, 43.33, -60.33)
CIE-LCHlch(43.73, 74.28, 305.68°)
OKLaboklab(53.33% 0.0661 -0.1723)
OKLCHoklch(53.33% 0.185 291)
XYZxyz(20.6951, 13.6551, 59.2911)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150CD #ACCD50
analogous
#506DCD #7150CD #AF50CD
triadic
#7150CD #CD7150 #50CD71
tetradic
#7150CD #CD506D #ACCD50 #50CDAF
square
#7150CD #CD506D #ACCD50 #50CDAF
split-complementary
#7150CD #CDAF50 #6DCD50
monochromatic
#3C247E #5332AE #7150CD #9880DB #BEAFE8

Accessibility & contrast

On white

5.63
#7150CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7150CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7150CD
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150CD#FFFFFF#000000##FFFFFF
##7150CD1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#566D87
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7150cd;
/* rgb */ color: rgb(113, 80, 205);
/* oklch */ color: oklch(53.3% 0.185 291.0);
Tailwind
colors: {
  custom: {
    50: '#a082dd',
    500: '#7150cd',
    950: '#000000',
  },
}
SCSS
$custom: #7150cd;
$custom-light: #a082dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7150cd",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 255.84,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53333,
    "c": 0.18453,
    "h": 291
  },
  "luminance": 0.13656
}

Semantic roles & 50–950 ramp

primary
#7150CD
secondary
#C9D6A2
accent
#DF49B7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7150CD

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

Preview Lab → · Contrast checker → · Palette generator →

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