#7155CF#7155CF

#7155CF is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.3% C 0.180 H 289.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7155CF
RGBrgb(113, 85, 207)
HSLhsl(254, 56%, 57%)
HSVhsv(254, 59%, 81%)
CMYKcmyk(45.4%, 58.9%, 0%, 18.8%)
CIE-LABlab(44.96, 41.04, -59.50)
CIE-LCHlch(44.96, 72.28, 304.59°)
OKLaboklab(54.27% 0.0604 -0.1699)
OKLCHoklch(54.27% 0.18 289.6)
XYZxyz(21.3179, 14.5119, 60.6972)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7155CF #B3CF55
analogous
#5576CF #7155CF #AE55CF
triadic
#7155CF #CF7155 #55CF71
tetradic
#7155CF #CF5576 #B3CF55 #55CFAE
square
#7155CF #CF5576 #B3CF55 #55CFAE
split-complementary
#7155CF #CFAE55 #76CF55
monochromatic
#3B2584 #5033B4 #7155CF #9985DC #C1B4EA

Accessibility & contrast

On white

5.38
#7155CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#7155CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7155CF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7155CF#FFFFFF#000000##FFFFFF
##7155CF1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#54718A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7155cf;
/* rgb */ color: rgb(113, 85, 207);
/* oklch */ color: oklch(54.3% 0.180 289.6);
Tailwind
colors: {
  custom: {
    50: '#a086de',
    500: '#7155cf',
    950: '#000000',
  },
}
SCSS
$custom: #7155cf;
$custom-light: #a086de;
$custom-dark: #000000;
JSON
{
  "hex": "#7155cf",
  "rgb": {
    "r": 113,
    "g": 85,
    "b": 207
  },
  "hsl": {
    "h": 253.77,
    "s": 55.963,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54272,
    "c": 0.18029,
    "h": 289.6
  },
  "luminance": 0.14513
}

Semantic roles & 50–950 ramp

primary
#7155CF
secondary
#CDD9A7
accent
#DF49BD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7155CF

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

Preview Lab → · Contrast checker → · Palette generator →

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