#7058CB#7058CB

#7058CB is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.4% C 0.171 H 289.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7058CB
RGBrgb(112, 88, 203)
HSLhsl(253, 53%, 57%)
HSVhsv(253, 57%, 80%)
CMYKcmyk(44.8%, 56.7%, 0%, 20.4%)
CIE-LABlab(45.27, 37.93, -56.70)
CIE-LCHlch(45.27, 68.22, 303.78°)
OKLaboklab(54.39% 0.0558 -0.1616)
OKLCHoklch(54.39% 0.171 289)
XYZxyz(20.9483, 14.7352, 58.2288)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7058CB #B3CB58
analogous
#587ACB #7058CB #AA58CB
triadic
#7058CB #CB7058 #58CB70
tetradic
#7058CB #CB587A #B3CB58 #58CBAA
square
#7058CB #CB587A #B3CB58 #58CBAA
split-complementary
#7058CB #CBAA58 #7ACB58
monochromatic
#3B2881 #5037AF #7058CB #9887DA #C0B5E8

Accessibility & contrast

On white

5.32
#7058CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7058CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7058CB
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7058CB#FFFFFF#000000##FFFFFF
##7058CB1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#106ECF
Deuteranopia (green-blind)
#1568C9
Tritanopia (blue-blind)
#547189
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7058cb;
/* rgb */ color: rgb(112, 88, 203);
/* oklch */ color: oklch(54.4% 0.171 289.0);
Tailwind
colors: {
  custom: {
    50: '#9f88db',
    500: '#7058cb',
    950: '#000000',
  },
}
SCSS
$custom: #7058cb;
$custom-light: #9f88db;
$custom-dark: #000000;
JSON
{
  "hex": "#7058cb",
  "rgb": {
    "r": 112,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 252.522,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54394,
    "c": 0.171,
    "h": 289
  },
  "luminance": 0.14736
}

Semantic roles & 50–950 ramp

primary
#7058CB
secondary
#CDD7A8
accent
#DC4CBE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7058CB

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

Preview Lab → · Contrast checker → · Palette generator →

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