#6148CF#6148CF

#6148CF is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.8% C 0.198 H 285.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#6148CF
RGBrgb(97, 72, 207)
HSLhsl(251, 58%, 55%)
HSVhsv(251, 65%, 81%)
CMYKcmyk(53.1%, 65.2%, 0%, 18.8%)
CIE-LABlab(40.70, 45.39, -66.48)
CIE-LCHlch(40.70, 80.49, 304.32°)
OKLaboklab(50.82% 0.0527 -0.1909)
OKLCHoklch(50.82% 0.198 285.4)
XYZxyz(18.5062, 11.6801, 60.2987)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6148CF #B6CF48
analogous
#4873CF #6148CF #A548CF
triadic
#6148CF #CF6148 #48CF61
tetradic
#6148CF #CF4873 #B6CF48 #48CFA5
square
#6148CF #CF4873 #B6CF48 #48CFA5
split-complementary
#6148CF #CFA548 #73CF48
monochromatic
#31217C #452DAD #6148CF #8B78DC #B5A9E8

Accessibility & contrast

On white

6.29
#6148CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#6148CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6148CF
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6148CF#FFFFFF#000000##FFFFFF
##6148CF1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#336A85
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6148cf;
/* rgb */ color: rgb(97, 72, 207);
/* oklch */ color: oklch(50.8% 0.198 285.4);
Tailwind
colors: {
  custom: {
    50: '#987cdf',
    500: '#6148cf',
    950: '#000000',
  },
}
SCSS
$custom: #6148cf;
$custom-light: #987cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#6148cf",
  "rgb": {
    "r": 97,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 251.111,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5082,
    "c": 0.19803,
    "h": 285.4
  },
  "luminance": 0.11681
}

Semantic roles & 50–950 ramp

primary
#6148CF
secondary
#CBD69D
accent
#E246C5
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #6148CF

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

Preview Lab → · Contrast checker → · Palette generator →

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