#7057DB#7057DB

#7057DB is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.4% C 0.193 H 287.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7057DB
RGBrgb(112, 87, 219)
HSLhsl(251, 65%, 60%)
HSVhsv(251, 60%, 86%)
CMYKcmyk(48.9%, 60.3%, 0%, 14.1%)
CIE-LABlab(46.14, 43.14, -64.45)
CIE-LCHlch(46.14, 77.56, 303.80°)
OKLaboklab(55.38% 0.0565 -0.1844)
OKLCHoklch(55.38% 0.193 287)
XYZxyz(22.8727, 15.3746, 68.7665)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7057DB #C2DB57
analogous
#5780DB #7057DB #B257DB
triadic
#7057DB #DB7057 #57DB70
tetradic
#7057DB #DB5780 #C2DB57 #57DBB2
square
#7057DB #DB5780 #C2DB57 #57DBB2
split-complementary
#7057DB #DBB257 #80DB57
monochromatic
#372097 #492BCA #7057DB #9B89E6 #C6BCF1

Accessibility & contrast

On white

5.15
#7057DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7057DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7057DB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7057DB#FFFFFF#000000##FFFFFF
##7057DB1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#006AD8
Tritanopia (blue-blind)
#4B7691
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7057db;
/* rgb */ color: rgb(112, 87, 219);
/* oklch */ color: oklch(55.4% 0.193 287.0);
Tailwind
colors: {
  custom: {
    50: '#a187e7',
    500: '#7057db',
    950: '#000000',
  },
}
SCSS
$custom: #7057db;
$custom-light: #a187e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7057db",
  "rgb": {
    "r": 112,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 251.364,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.55384,
    "c": 0.19289,
    "h": 287
  },
  "luminance": 0.15376
}

Semantic roles & 50–950 ramp

primary
#7057DB
secondary
#D7E0AD
accent
#E840C8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7057DB

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

Preview Lab → · Contrast checker → · Palette generator →

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