#7150DF#7150DF

#7150DF is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.7% C 0.207 H 288.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7150DF
RGBrgb(113, 80, 223)
HSLhsl(254, 69%, 59%)
HSVhsv(254, 64%, 87%)
CMYKcmyk(49.3%, 64.1%, 0%, 12.5%)
CIE-LABlab(45.05, 48.42, -68.50)
CIE-LCHlch(45.05, 83.89, 305.25°)
OKLaboklab(54.7% 0.0646 -0.1963)
OKLCHoklch(54.7% 0.207 288.2)
XYZxyz(22.9941, 14.5747, 71.3993)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150DF #BEDF50
analogous
#5077DF #7150DF #B850DF
triadic
#7150DF #DF7150 #50DF71
tetradic
#7150DF #DF5077 #BEDF50 #50DFB8
square
#7150DF #DF5077 #BEDF50 #50DFB8
split-complementary
#7150DF #DFB850 #77DF50
monochromatic
#391C99 #4C25CC #7150DF #9B84E8 #C5B7F2

Accessibility & contrast

On white

5.36
#7150DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7150DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7150DF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150DF#FFFFFF#000000##FFFFFF
##7150DF1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#0067DC
Tritanopia (blue-blind)
#4A7390
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7150df;
/* rgb */ color: rgb(113, 80, 223);
/* oklch */ color: oklch(54.7% 0.207 288.2);
Tailwind
colors: {
  custom: {
    50: '#a283ea',
    500: '#7150df',
    950: '#000000',
  },
}
SCSS
$custom: #7150df;
$custom-light: #a283ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7150df",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 223
  },
  "hsl": {
    "h": 253.846,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54699,
    "c": 0.20669,
    "h": 288.2
  },
  "luminance": 0.14576
}

Semantic roles & 50–950 ramp

primary
#7150DF
secondary
#D4E1AA
accent
#EC3CC3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7150DF

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

Preview Lab → · Contrast checker → · Palette generator →

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