#7150CA#7150CA

#7150CA is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.1% C 0.181 H 291.5°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7150CA
RGBrgb(113, 80, 202)
HSLhsl(256, 54%, 55%)
HSVhsv(256, 60%, 79%)
CMYKcmyk(44.1%, 60.4%, 0%, 20.8%)
CIE-LABlab(43.52, 42.48, -58.94)
CIE-LCHlch(43.52, 72.65, 305.78°)
OKLaboklab(53.11% 0.0662 -0.1682)
OKLCHoklch(53.11% 0.181 291.5)
XYZxyz(20.3364, 13.5116, 57.4022)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150CA #A9CA50
analogous
#506CCA #7150CA #AE50CA
triadic
#7150CA #CA7150 #50CA71
tetradic
#7150CA #CA506C #A9CA50 #50CAAE
square
#7150CA #CA506C #A9CA50 #50CAAE
split-complementary
#7150CA #CAAE50 #6CCA50
monochromatic
#3C257A #5333A9 #7150CA #977FD8 #BDAEE6

Accessibility & contrast

On white

5.67
#7150CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7150CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7150CA
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150CA#FFFFFF#000000##FFFFFF
##7150CA1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#576C85
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7150ca;
/* rgb */ color: rgb(113, 80, 202);
/* oklch */ color: oklch(53.1% 0.181 291.5);
Tailwind
colors: {
  custom: {
    50: '#a082db',
    500: '#7150ca',
    950: '#000000',
  },
}
SCSS
$custom: #7150ca;
$custom-light: #a082db;
$custom-dark: #000000;
JSON
{
  "hex": "#7150ca",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 256.23,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53113,
    "c": 0.18078,
    "h": 291.5
  },
  "luminance": 0.13512
}

Semantic roles & 50–950 ramp

primary
#7150CA
secondary
#C7D4A1
accent
#DD4BB5
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7150CA

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

Preview Lab → · Contrast checker → · Palette generator →

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