#6159ED#6159ED

#6159ED is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.9% C 0.215 H 279.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#6159ED
RGBrgb(97, 89, 237)
HSLhsl(243, 80%, 64%)
HSVhsv(243, 62%, 93%)
CMYKcmyk(59.1%, 62.4%, 0%, 7.1%)
CIE-LABlab(46.71, 44.78, -73.77)
CIE-LCHlch(46.71, 86.29, 301.26°)
OKLaboklab(55.92% 0.0346 -0.2123)
OKLCHoklch(55.92% 0.215 279.3)
XYZxyz(23.7833, 15.7988, 81.9005)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6159ED #E5ED59
analogous
#599BED #6159ED #AB59ED
triadic
#6159ED #ED6159 #59ED61
tetradic
#6159ED #ED599B #E5ED59 #59EDAB
square
#6159ED #ED599B #E5ED59 #59EDAB
split-complementary
#6159ED #EDAB59 #9BED59
monochromatic
#1D14B8 #2C22E7 #6159ED #9690F3 #CAC7F9

Accessibility & contrast

On white

5.05
#6159ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#6159ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6159ED
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6159ED#FFFFFF#000000##FFFFFF
##6159ED1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F2
Deuteranopia (green-blind)
#0069EA
Tritanopia (blue-blind)
#007E9B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6159ed;
/* rgb */ color: rgb(97, 89, 237);
/* oklch */ color: oklch(55.9% 0.215 279.3);
Tailwind
colors: {
  custom: {
    50: '#9b88f4',
    500: '#6159ed',
    950: '#000000',
  },
}
SCSS
$custom: #6159ed;
$custom-light: #9b88f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6159ed",
  "rgb": {
    "r": 97,
    "g": 89,
    "b": 237
  },
  "hsl": {
    "h": 243.243,
    "s": 80.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.55916,
    "c": 0.21507,
    "h": 279.3
  },
  "luminance": 0.15801
}

Semantic roles & 50–950 ramp

primary
#6159ED
secondary
#E8EBB7
accent
#DD09D1
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6159ED

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

Preview Lab → · Contrast checker → · Palette generator →

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