#6149CA#6149CA

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

Color values

HEX#6149CA
RGBrgb(97, 73, 202)
HSLhsl(251, 55%, 54%)
HSVhsv(251, 64%, 79%)
CMYKcmyk(52%, 63.9%, 0%, 20.8%)
CIE-LABlab(40.52, 43.33, -63.88)
CIE-LCHlch(40.52, 77.19, 304.15°)
OKLaboklab(50.57% 0.0523 -0.1832)
OKLCHoklch(50.57% 0.191 285.9)
XYZxyz(17.9698, 11.5698, 57.1520)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6149CA #B2CA49
analogous
#4972CA #6149CA #A249CA
triadic
#6149CA #CA6149 #49CA61
tetradic
#6149CA #CA4972 #B2CA49 #49CAA2
square
#6149CA #CA4972 #B2CA49 #49CAA2
split-complementary
#6149CA #CAA249 #72CA49
monochromatic
#322276 #4630A6 #6149CA #8A78D8 #B3A8E6

Accessibility & contrast

On white

6.34
#6149CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6149CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6149CA
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6149CA#FFFFFF#000000##FFFFFF
##6149CA1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#005CC7
Tritanopia (blue-blind)
#386883
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6149ca;
/* rgb */ color: rgb(97, 73, 202);
/* oklch */ color: oklch(50.6% 0.191 285.9);
Tailwind
colors: {
  custom: {
    50: '#977ddb',
    500: '#6149ca',
    950: '#000000',
  },
}
SCSS
$custom: #6149ca;
$custom-light: #977ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#6149ca",
  "rgb": {
    "r": 97,
    "g": 73,
    "b": 202
  },
  "hsl": {
    "h": 251.163,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50568,
    "c": 0.19056,
    "h": 285.9
  },
  "luminance": 0.11571
}

Semantic roles & 50–950 ramp

primary
#6149CA
secondary
#C9D39C
accent
#DE4AC3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6149CA

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

Preview Lab → · Contrast checker → · Palette generator →

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