#6149CB#6149CB

#6149CB is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.6% C 0.192 H 285.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#6149CB
RGBrgb(97, 73, 203)
HSLhsl(251, 56%, 54%)
HSVhsv(251, 64%, 80%)
CMYKcmyk(52.2%, 64%, 0%, 20.4%)
CIE-LABlab(40.60, 43.63, -64.33)
CIE-LCHlch(40.60, 77.73, 304.15°)
OKLaboklab(50.65% 0.0522 -0.1846)
OKLCHoklch(50.65% 0.192 285.8)
XYZxyz(18.0886, 11.6173, 57.7776)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6149CB #B3CB49
analogous
#4972CB #6149CB #A249CB
triadic
#6149CB #CB6149 #49CB61
tetradic
#6149CB #CB4972 #B3CB49 #49CBA2
square
#6149CB #CB4972 #B3CB49 #49CBA2
split-complementary
#6149CB #CBA249 #72CB49
monochromatic
#322277 #4630A7 #6149CB #8A79D9 #B4A8E6

Accessibility & contrast

On white

6.32
#6149CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6149CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6149CB
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6149CB#FFFFFF#000000##FFFFFF
##6149CB1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#376983
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6149cb;
/* rgb */ color: rgb(97, 73, 203);
/* oklch */ color: oklch(50.6% 0.192 285.8);
Tailwind
colors: {
  custom: {
    50: '#977ddc',
    500: '#6149cb',
    950: '#000000',
  },
}
SCSS
$custom: #6149cb;
$custom-light: #977ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#6149cb",
  "rgb": {
    "r": 97,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 251.077,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50649,
    "c": 0.19181,
    "h": 285.8
  },
  "luminance": 0.11618
}

Semantic roles & 50–950 ramp

primary
#6149CB
secondary
#C9D49C
accent
#DF49C3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6149CB

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

Preview Lab → · Contrast checker → · Palette generator →

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