#6151AE#6151AE

#6151AE is a mid, vivid violet. Relative luminance 0.115; OKLCH L 49.8% C 0.143 H 288.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#6151AE
RGBrgb(97, 81, 174)
HSLhsl(250, 36%, 50%)
HSVhsv(250, 53%, 68%)
CMYKcmyk(44.3%, 53.4%, 0%, 31.8%)
CIE-LABlab(40.38, 30.21, -47.73)
CIE-LCHlch(40.38, 56.48, 302.33°)
OKLaboklab(49.84% 0.0441 -0.1357)
OKLCHoklch(49.84% 0.143 288)
XYZxyz(15.5100, 11.4817, 41.4352)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6151AE #9EAE51
analogous
#516FAE #6151AE #9051AE
triadic
#6151AE #AE6151 #51AE61
tetradic
#6151AE #AE516F #9EAE51 #51AE90
square
#6151AE #AE516F #9EAE51 #51AE90
split-complementary
#6151AE #AE9051 #6FAE51
monochromatic
#322A5A #4A3E84 #6151AE #877BC1 #ADA5D5

Accessibility & contrast

On white

6.37
#6151AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6151AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6151AE
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6151AE#FFFFFF#000000##FFFFFF
##6151AE1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2561B1
Deuteranopia (green-blind)
#255DAC
Tritanopia (blue-blind)
#4A6577
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6151ae;
/* rgb */ color: rgb(97, 81, 174);
/* oklch */ color: oklch(49.8% 0.143 288.0);
Tailwind
colors: {
  custom: {
    50: '#9382c7',
    500: '#6151ae',
    950: '#000000',
  },
}
SCSS
$custom: #6151ae;
$custom-light: #9382c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6151ae",
  "rgb": {
    "r": 97,
    "g": 81,
    "b": 174
  },
  "hsl": {
    "h": 250.323,
    "s": 36.471,
    "l": 50
  },
  "oklch": {
    "l": 0.49837,
    "c": 0.14271,
    "h": 288
  },
  "luminance": 0.11482
}

Semantic roles & 50–950 ramp

primary
#6151AE
secondary
#BBC299
accent
#CC5BB9
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #6151AE

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

Preview Lab → · Contrast checker → · Palette generator →

#6151AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva