#6148DC#6148DC

#6148DC is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 51.9% C 0.214 H 283.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#6148DC
RGBrgb(97, 72, 220)
HSLhsl(250, 68%, 57%)
HSVhsv(250, 67%, 86%)
CMYKcmyk(55.9%, 67.3%, 0%, 13.7%)
CIE-LABlab(41.75, 49.25, -72.22)
CIE-LCHlch(41.75, 87.42, 304.29°)
OKLaboklab(51.9% 0.051 -0.2078)
OKLCHoklch(51.9% 0.214 283.8)
XYZxyz(20.1614, 12.3422, 69.0162)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6148DC #C3DC48
analogous
#4879DC #6148DC #AB48DC
triadic
#6148DC #DC6148 #48DC61
tetradic
#6148DC #DC4879 #C3DC48 #48DCAB
square
#6148DC #DC4879 #C3DC48 #48DCAB
split-complementary
#6148DC #DCAB48 #79DC48
monochromatic
#2F1B8E #4025C2 #6148DC #8D7BE6 #BAAFF0

Accessibility & contrast

On white

6.05
#6148DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#6148DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6148DC
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6148DC#FFFFFF#000000##FFFFFF
##6148DC1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E1
Deuteranopia (green-blind)
#005ED9
Tritanopia (blue-blind)
#236E8C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6148dc;
/* rgb */ color: rgb(97, 72, 220);
/* oklch */ color: oklch(51.9% 0.214 283.8);
Tailwind
colors: {
  custom: {
    50: '#997de8',
    500: '#6148dc',
    950: '#000000',
  },
}
SCSS
$custom: #6148dc;
$custom-light: #997de8;
$custom-dark: #000000;
JSON
{
  "hex": "#6148dc",
  "rgb": {
    "r": 97,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 250.135,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51904,
    "c": 0.21392,
    "h": 283.8
  },
  "luminance": 0.12343
}

Semantic roles & 50–950 ramp

primary
#6148DC
secondary
#D4DEA2
accent
#EB3DCD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6148DC

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

Preview Lab → · Contrast checker → · Palette generator →

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