#7155EF#7155EF

#7155EF is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.7% C 0.220 H 285.3°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7155EF
RGBrgb(113, 85, 239)
HSLhsl(251, 83%, 64%)
HSVhsv(251, 64%, 94%)
CMYKcmyk(52.7%, 64.4%, 0%, 6.3%)
CIE-LABlab(47.29, 50.26, -73.90)
CIE-LCHlch(47.29, 89.37, 304.22°)
OKLaboklab(56.7% 0.0581 -0.2122)
OKLCHoklch(56.7% 0.22 285.3)
XYZxyz(25.6339, 16.2383, 83.4282)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7155EF #D3EF55
analogous
#5586EF #7155EF #BE55EF
triadic
#7155EF #EF7155 #55EF71
tetradic
#7155EF #EF5586 #D3EF55 #55EFBE
square
#7155EF #EF5586 #D3EF55 #55EFBE
split-complementary
#7155EF #EFBE55 #86EF55
monochromatic
#3011B8 #421DEA #7155EF #A08DF4 #CEC5FA

Accessibility & contrast

On white

4.94
#7155EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#7155EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7155EF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7155EF#FFFFFF#000000##FFFFFF
##7155EF1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F4
Deuteranopia (green-blind)
#006BEC
Tritanopia (blue-blind)
#3D7B9B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7155ef;
/* rgb */ color: rgb(113, 85, 239);
/* oklch */ color: oklch(56.7% 0.220 285.3);
Tailwind
colors: {
  custom: {
    50: '#a486f5',
    500: '#7155ef',
    950: '#000000',
  },
}
SCSS
$custom: #7155ef;
$custom-light: #a486f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7155ef",
  "rgb": {
    "r": 113,
    "g": 85,
    "b": 239
  },
  "hsl": {
    "h": 250.909,
    "s": 82.796,
    "l": 63.529
  },
  "oklch": {
    "l": 0.567,
    "c": 0.22,
    "h": 285.3
  },
  "luminance": 0.1624
}

Semantic roles & 50–950 ramp

primary
#7155EF
secondary
#E1EBB5
accent
#DF06B8
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7155EF

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

Preview Lab → · Contrast checker → · Palette generator →

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