#7155D2#7155D2

#7155D2 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.5% C 0.184 H 289.1°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7155D2
RGBrgb(113, 85, 210)
HSLhsl(253, 58%, 58%)
HSVhsv(253, 60%, 82%)
CMYKcmyk(46.2%, 59.5%, 0%, 17.6%)
CIE-LABlab(45.16, 41.90, -60.89)
CIE-LCHlch(45.16, 73.91, 304.53°)
OKLaboklab(54.49% 0.0603 -0.1739)
OKLCHoklch(54.49% 0.184 289.1)
XYZxyz(21.6881, 14.6600, 62.6472)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7155D2 #B6D255
analogous
#5577D2 #7155D2 #AF55D2
triadic
#7155D2 #D27155 #55D271
tetradic
#7155D2 #D25577 #B6D255 #55D2AF
square
#7155D2 #D25577 #B6D255 #55D2AF
split-complementary
#7155D2 #D2AF55 #77D255
monochromatic
#3B2488 #4F31B9 #7155D2 #9985DF #C2B6EC

Accessibility & contrast

On white

5.34
#7155D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7155D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7155D2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7155D2#FFFFFF#000000##FFFFFF
##7155D21.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#0068CF
Tritanopia (blue-blind)
#52728B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7155d2;
/* rgb */ color: rgb(113, 85, 210);
/* oklch */ color: oklch(54.5% 0.184 289.1);
Tailwind
colors: {
  custom: {
    50: '#a186e1',
    500: '#7155d2',
    950: '#000000',
  },
}
SCSS
$custom: #7155d2;
$custom-light: #a186e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7155d2",
  "rgb": {
    "r": 113,
    "g": 85,
    "b": 210
  },
  "hsl": {
    "h": 253.44,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5449,
    "c": 0.18411,
    "h": 289.1
  },
  "luminance": 0.14661
}

Semantic roles & 50–950 ramp

primary
#7155D2
secondary
#CFDAA8
accent
#E146BF
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7155D2

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

Preview Lab → · Contrast checker → · Palette generator →

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