#7155DB#7155DB

#7155DB is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.2% C 0.195 H 287.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7155DB
RGBrgb(113, 85, 219)
HSLhsl(253, 65%, 60%)
HSVhsv(253, 61%, 86%)
CMYKcmyk(48.4%, 61.2%, 0%, 14.1%)
CIE-LABlab(45.80, 44.48, -65.00)
CIE-LCHlch(45.80, 78.76, 304.38°)
OKLaboklab(55.15% 0.0599 -0.186)
OKLCHoklch(55.15% 0.195 287.8)
XYZxyz(22.8410, 15.1212, 68.7193)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7155DB #BFDB55
analogous
#557CDB #7155DB #B455DB
triadic
#7155DB #DB7155 #55DB71
tetradic
#7155DB #DB557C #BFDB55 #55DBB4
square
#7155DB #DB557C #BFDB55 #55DBB4
split-complementary
#7155DB #DBB455 #7CDB55
monochromatic
#382096 #4B2AC8 #7155DB #9B88E6 #C5BAF0

Accessibility & contrast

On white

5.22
#7155DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7155DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7155DB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7155DB#FFFFFF#000000##FFFFFF
##7155DB1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7155db;
/* rgb */ color: rgb(113, 85, 219);
/* oklch */ color: oklch(55.2% 0.195 287.8);
Tailwind
colors: {
  custom: {
    50: '#a286e7',
    500: '#7155db',
    950: '#000000',
  },
}
SCSS
$custom: #7155db;
$custom-light: #a286e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7155db",
  "rgb": {
    "r": 113,
    "g": 85,
    "b": 219
  },
  "hsl": {
    "h": 252.537,
    "s": 65.049,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55154,
    "c": 0.19544,
    "h": 287.8
  },
  "luminance": 0.15122
}

Semantic roles & 50–950 ramp

primary
#7155DB
secondary
#D5E0AC
accent
#E840C5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7155DB

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

Preview Lab → · Contrast checker → · Palette generator →

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