#7155CB#7155CB

#7155CB is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.0% C 0.175 H 290.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7155CB
RGBrgb(113, 85, 203)
HSLhsl(254, 53%, 56%)
HSVhsv(254, 58%, 80%)
CMYKcmyk(44.3%, 58.1%, 0%, 20.4%)
CIE-LABlab(44.69, 39.90, -57.64)
CIE-LCHlch(44.69, 70.10, 304.69°)
OKLaboklab(53.99% 0.0605 -0.1644)
OKLCHoklch(53.99% 0.175 290.2)
XYZxyz(20.8350, 14.3188, 58.1544)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7155CB #AFCB55
analogous
#5574CB #7155CB #AC55CB
triadic
#7155CB #CB7155 #55CB71
tetradic
#7155CB #CB5574 #AFCB55 #55CBAC
square
#7155CB #CB5574 #AFCB55 #55CBAC
split-complementary
#7155CB #CBAC55 #74CB55
monochromatic
#3C277F #5235AE #7155CB #9884D9 #BFB3E8

Accessibility & contrast

On white

5.43
#7155CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7155CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7155CB
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7155CB#FFFFFF#000000##FFFFFF
##7155CB1.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#0967C8
Tritanopia (blue-blind)
#566F88
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7155cb;
/* rgb */ color: rgb(113, 85, 203);
/* oklch */ color: oklch(54.0% 0.175 290.2);
Tailwind
colors: {
  custom: {
    50: '#a086dc',
    500: '#7155cb',
    950: '#000000',
  },
}
SCSS
$custom: #7155cb;
$custom-light: #a086dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7155cb",
  "rgb": {
    "r": 113,
    "g": 85,
    "b": 203
  },
  "hsl": {
    "h": 254.237,
    "s": 53.153,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53987,
    "c": 0.17517,
    "h": 290.2
  },
  "luminance": 0.1432
}

Semantic roles & 50–950 ramp

primary
#7155CB
secondary
#CBD6A6
accent
#DD4BBA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7155CB

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

Preview Lab → · Contrast checker → · Palette generator →

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