#6158ED#6158ED

#6158ED is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.8% C 0.216 H 279.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#6158ED
RGBrgb(97, 88, 237)
HSLhsl(244, 81%, 64%)
HSVhsv(244, 63%, 93%)
CMYKcmyk(59.1%, 62.9%, 0%, 7.1%)
CIE-LABlab(46.49, 45.36, -74.13)
CIE-LCHlch(46.49, 86.90, 301.46°)
OKLaboklab(55.76% 0.0355 -0.2133)
OKLCHoklch(55.76% 0.216 279.4)
XYZxyz(23.7007, 15.6335, 81.8730)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6158ED #E4ED58
analogous
#5899ED #6158ED #AB58ED
triadic
#6158ED #ED6158 #58ED61
tetradic
#6158ED #ED5899 #E4ED58 #58EDAB
square
#6158ED #ED5899 #E4ED58 #58EDAB
split-complementary
#6158ED #EDAB58 #99ED58
monochromatic
#1E14B7 #2D21E7 #6158ED #958FF3 #CAC6F9

Accessibility & contrast

On white

5.09
#6158ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#6158ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6158ED
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6158ED#FFFFFF#000000##FFFFFF
##6158ED1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F2
Deuteranopia (green-blind)
#0068EA
Tritanopia (blue-blind)
#007D9A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6158ed;
/* rgb */ color: rgb(97, 88, 237);
/* oklch */ color: oklch(55.8% 0.216 279.4);
Tailwind
colors: {
  custom: {
    50: '#9b88f4',
    500: '#6158ed',
    950: '#000000',
  },
}
SCSS
$custom: #6158ed;
$custom-light: #9b88f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6158ed",
  "rgb": {
    "r": 97,
    "g": 88,
    "b": 237
  },
  "hsl": {
    "h": 243.624,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55756,
    "c": 0.21625,
    "h": 279.4
  },
  "luminance": 0.15635
}

Semantic roles & 50–950 ramp

primary
#6158ED
secondary
#E7EBB6
accent
#DD09D0
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6158ED

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

Preview Lab → · Contrast checker → · Palette generator →

#6158ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva