#6148D2#6148D2

#6148D2 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.1% C 0.202 H 285.0°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#6148D2
RGBrgb(97, 72, 210)
HSLhsl(251, 61%, 55%)
HSVhsv(251, 66%, 82%)
CMYKcmyk(53.8%, 65.7%, 0%, 17.6%)
CIE-LABlab(40.94, 46.28, -67.82)
CIE-LCHlch(40.94, 82.10, 304.31°)
OKLaboklab(51.07% 0.0523 -0.1948)
OKLCHoklch(51.07% 0.202 285)
XYZxyz(18.8765, 11.8282, 62.2487)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6148D2 #B9D248
analogous
#4874D2 #6148D2 #A648D2
triadic
#6148D2 #D26148 #48D261
tetradic
#6148D2 #D24874 #B9D248 #48D2A6
square
#6148D2 #D24874 #B9D248 #48D2A6
split-complementary
#6148D2 #D2A648 #74D248
monochromatic
#312080 #442CB1 #6148D2 #8B79DE #B6AAEA

Accessibility & contrast

On white

6.24
#6148D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6148D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6148D2
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6148D2#FFFFFF#000000##FFFFFF
##6148D21.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#005CCF
Tritanopia (blue-blind)
#306B87
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6148d2;
/* rgb */ color: rgb(97, 72, 210);
/* oklch */ color: oklch(51.1% 0.202 285.0);
Tailwind
colors: {
  custom: {
    50: '#987de1',
    500: '#6148d2',
    950: '#000000',
  },
}
SCSS
$custom: #6148d2;
$custom-light: #987de1;
$custom-dark: #000000;
JSON
{
  "hex": "#6148d2",
  "rgb": {
    "r": 97,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 250.87,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51067,
    "c": 0.20172,
    "h": 285
  },
  "luminance": 0.11829
}

Semantic roles & 50–950 ramp

primary
#6148D2
secondary
#CDD89E
accent
#E444C7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #6148D2

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

Preview Lab → · Contrast checker → · Palette generator →

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