#6148BE#6148BE

#6148BE is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.5% C 0.177 H 287.9°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#6148BE
RGBrgb(97, 72, 190)
HSLhsl(253, 48%, 51%)
HSVhsv(253, 62%, 75%)
CMYKcmyk(48.9%, 62.1%, 0%, 25.5%)
CIE-LABlab(39.40, 40.35, -58.72)
CIE-LCHlch(39.40, 71.24, 304.50°)
OKLaboklab(49.47% 0.0543 -0.1681)
OKLCHoklch(49.47% 0.177 287.9)
XYZxyz(16.5387, 10.8931, 49.9364)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6148BE #A5BE48
analogous
#486ABE #6148BE #9C48BE
triadic
#6148BE #BE6148 #48BE61
tetradic
#6148BE #BE486A #A5BE48 #48BE9C
square
#6148BE #BE486A #A5BE48 #48BE9C
split-complementary
#6148BE #BE9C48 #6ABE48
monochromatic
#332567 #493594 #6148BE #8875CE #AFA2DE

Accessibility & contrast

On white

6.61
#6148BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#6148BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6148BE
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6148BE#FFFFFF#000000##FFFFFF
##6148BE1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#41647C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6148be;
/* rgb */ color: rgb(97, 72, 190);
/* oklch */ color: oklch(49.5% 0.177 287.9);
Tailwind
colors: {
  custom: {
    50: '#957cd2',
    500: '#6148be',
    950: '#000000',
  },
}
SCSS
$custom: #6148be;
$custom-light: #957cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6148be",
  "rgb": {
    "r": 97,
    "g": 72,
    "b": 190
  },
  "hsl": {
    "h": 252.712,
    "s": 47.581,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49466,
    "c": 0.17663,
    "h": 287.9
  },
  "luminance": 0.10894
}

Semantic roles & 50–950 ramp

primary
#6148BE
secondary
#C0CB97
accent
#D751BB
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6148BE

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

Preview Lab → · Contrast checker → · Palette generator →

#6148BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva