#7057CB#7057CB

#7057CB is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.2% C 0.172 H 289.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7057CB
RGBrgb(112, 87, 203)
HSLhsl(253, 53%, 57%)
HSVhsv(253, 57%, 80%)
CMYKcmyk(44.8%, 57.1%, 0%, 20.4%)
CIE-LABlab(45.04, 38.52, -57.07)
CIE-LCHlch(45.04, 68.85, 304.02°)
OKLaboklab(54.23% 0.0569 -0.1627)
OKLCHoklch(54.23% 0.172 289.3)
XYZxyz(20.8667, 14.5722, 58.2016)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7057CB #B2CB57
analogous
#5778CB #7057CB #AA57CB
triadic
#7057CB #CB7057 #57CB70
tetradic
#7057CB #CB5778 #B2CB57 #57CBAA
square
#7057CB #CB5778 #B2CB57 #57CBAA
split-complementary
#7057CB #CBAA57 #78CB57
monochromatic
#3B2880 #5036AF #7057CB #9886D9 #C0B4E8

Accessibility & contrast

On white

5.36
#7057CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7057CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7057CB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7057CB#FFFFFF#000000##FFFFFF
##7057CB1.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#096DCF
Deuteranopia (green-blind)
#1168C8
Tritanopia (blue-blind)
#547188
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7057cb;
/* rgb */ color: rgb(112, 87, 203);
/* oklch */ color: oklch(54.2% 0.172 289.3);
Tailwind
colors: {
  custom: {
    50: '#9f87dc',
    500: '#7057cb',
    950: '#000000',
  },
}
SCSS
$custom: #7057cb;
$custom-light: #9f87dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7057cb",
  "rgb": {
    "r": 112,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 252.931,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54226,
    "c": 0.1724,
    "h": 289.3
  },
  "luminance": 0.14573
}

Semantic roles & 50–950 ramp

primary
#7057CB
secondary
#CCD7A7
accent
#DC4CBD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7057CB

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

Preview Lab → · Contrast checker → · Palette generator →

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