#7156DB#7156DB

#7156DB is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.3% C 0.194 H 287.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7156DB
RGBrgb(113, 86, 219)
HSLhsl(252, 65%, 60%)
HSVhsv(252, 61%, 86%)
CMYKcmyk(48.4%, 60.7%, 0%, 14.1%)
CIE-LABlab(46.01, 43.91, -64.65)
CIE-LCHlch(46.01, 78.16, 304.18°)
OKLaboklab(55.31% 0.0588 -0.185)
OKLCHoklch(55.31% 0.194 287.6)
XYZxyz(22.9203, 15.2797, 68.7457)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7156DB #C0DB56
analogous
#567EDB #7156DB #B356DB
triadic
#7156DB #DB7156 #56DB71
tetradic
#7156DB #DB567E #C0DB56 #56DBB3
square
#7156DB #DB567E #C0DB56 #56DBB3
split-complementary
#7156DB #DBB356 #7EDB56
monochromatic
#382097 #4B2BC9 #7156DB #9B88E6 #C6BBF0

Accessibility & contrast

On white

5.18
#7156DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7156DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7156DB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7156DB#FFFFFF#000000##FFFFFF
##7156DB1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#0069D8
Tritanopia (blue-blind)
#4D7590
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7156db;
/* rgb */ color: rgb(113, 86, 219);
/* oklch */ color: oklch(55.3% 0.194 287.6);
Tailwind
colors: {
  custom: {
    50: '#a287e7',
    500: '#7156db',
    950: '#000000',
  },
}
SCSS
$custom: #7156db;
$custom-light: #a287e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7156db",
  "rgb": {
    "r": 113,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 252.18,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55312,
    "c": 0.19414,
    "h": 287.6
  },
  "luminance": 0.15281
}

Semantic roles & 50–950 ramp

primary
#7156DB
secondary
#D6E0AD
accent
#E840C6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7156DB

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

Preview Lab → · Contrast checker → · Palette generator →

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