#7150DB#7150DB

#7150DB is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.4% C 0.202 H 288.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7150DB
RGBrgb(113, 80, 219)
HSLhsl(254, 66%, 59%)
HSVhsv(254, 63%, 86%)
CMYKcmyk(48.4%, 63.5%, 0%, 14.1%)
CIE-LABlab(44.75, 47.28, -66.71)
CIE-LCHlch(44.75, 81.77, 305.33°)
OKLaboklab(54.39% 0.065 -0.1911)
OKLCHoklch(54.39% 0.202 288.8)
XYZxyz(22.4612, 14.3616, 68.5927)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150DB #BADB50
analogous
#5074DB #7150DB #B750DB
triadic
#7150DB #DB7150 #50DB71
tetradic
#7150DB #DB5074 #BADB50 #50DBB7
square
#7150DB #DB5074 #BADB50 #50DBB7
split-complementary
#7150DB #DBB750 #74DB50
monochromatic
#3A1E92 #4E29C5 #7150DB #9A83E5 #C3B6F0

Accessibility & contrast

On white

5.42
#7150DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7150DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7150DB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150DB#FFFFFF#000000##FFFFFF
##7150DB1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#4D718E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7150db;
/* rgb */ color: rgb(113, 80, 219);
/* oklch */ color: oklch(54.4% 0.202 288.8);
Tailwind
colors: {
  custom: {
    50: '#a283e7',
    500: '#7150db',
    950: '#000000',
  },
}
SCSS
$custom: #7150db;
$custom-light: #a283e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7150db",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 219
  },
  "hsl": {
    "h": 254.245,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54389,
    "c": 0.20182,
    "h": 288.8
  },
  "luminance": 0.14363
}

Semantic roles & 50–950 ramp

primary
#7150DB
secondary
#D2DFA8
accent
#E93FC0
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7150DB

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

Preview Lab → · Contrast checker → · Palette generator →

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