#7058BF#7058BF

#7058BF is a mid, vivid violet. Relative luminance 0.142; OKLCH L 53.6% C 0.155 H 291.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7058BF
RGBrgb(112, 88, 191)
HSLhsl(254, 45%, 55%)
HSVhsv(254, 54%, 75%)
CMYKcmyk(41.4%, 53.9%, 0%, 25.1%)
CIE-LABlab(44.50, 34.50, -51.00)
CIE-LCHlch(44.50, 61.58, 304.08°)
OKLaboklab(53.58% 0.0555 -0.1449)
OKLCHoklch(53.58% 0.155 291)
XYZxyz(19.5732, 14.1852, 50.9869)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7058BF #A7BF58
analogous
#5873BF #7058BF #A458BF
triadic
#7058BF #BF7058 #58BF70
tetradic
#7058BF #BF5873 #A7BF58 #58BFA4
square
#7058BF #BF5873 #A7BF58 #58BFA4
split-complementary
#7058BF #BFA458 #73BF58
monochromatic
#3C2B71 #533C9D #7058BF #9684D0 #BCB0E1

Accessibility & contrast

On white

5.47
#7058BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7058BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7058BF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7058BF#FFFFFF#000000##FFFFFF
##7058BF1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276BC3
Deuteranopia (green-blind)
#2C67BD
Tritanopia (blue-blind)
#5A6E83
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7058bf;
/* rgb */ color: rgb(112, 88, 191);
/* oklch */ color: oklch(53.6% 0.155 291.0);
Tailwind
colors: {
  custom: {
    50: '#9e88d3',
    500: '#7058bf',
    950: '#000000',
  },
}
SCSS
$custom: #7058bf;
$custom-light: #9e88d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7058bf",
  "rgb": {
    "r": 112,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 253.981,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53575,
    "c": 0.15517,
    "h": 291
  },
  "luminance": 0.14186
}

Semantic roles & 50–950 ramp

primary
#7058BF
secondary
#C5CFA4
accent
#D454B6
background
#FAF8FD
surface
#F3EFFA
border
#CDCAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7058BF

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

Preview Lab → · Contrast checker → · Palette generator →

#7058BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva