#6148CB#6148CB

#6148CB is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.5% C 0.193 H 286.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#6148CB
RGBrgb(97, 72, 203)
HSLhsl(251, 56%, 54%)
HSVhsv(251, 65%, 80%)
CMYKcmyk(52.2%, 64.5%, 0%, 20.4%)
CIE-LABlab(40.39, 44.20, -64.68)
CIE-LCHlch(40.39, 78.34, 304.35°)
OKLaboklab(50.5% 0.0531 -0.1856)
OKLCHoklch(50.5% 0.193 286)
XYZxyz(18.0234, 11.4870, 57.7558)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6148CB #B2CB48
analogous
#4871CB #6148CB #A348CB
triadic
#6148CB #CB6148 #48CB61
tetradic
#6148CB #CB4871 #B2CB48 #48CBA3
square
#6148CB #CB4871 #B2CB48 #48CBA3
split-complementary
#6148CB #CBA348 #71CB48
monochromatic
#322277 #462FA6 #6148CB #8A78D9 #B3A7E6

Accessibility & contrast

On white

6.37
#6148CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6148CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6148CB
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6148CB#FFFFFF#000000##FFFFFF
##6148CB1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#376883
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6148cb;
/* rgb */ color: rgb(97, 72, 203);
/* oklch */ color: oklch(50.5% 0.193 286.0);
Tailwind
colors: {
  custom: {
    50: '#977cdc',
    500: '#6148cb',
    950: '#000000',
  },
}
SCSS
$custom: #6148cb;
$custom-light: #977cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6148cb",
  "rgb": {
    "r": 97,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 251.45,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50495,
    "c": 0.19305,
    "h": 286
  },
  "luminance": 0.11488
}

Semantic roles & 50–950 ramp

primary
#6148CB
secondary
#C9D39B
accent
#DF49C2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6148CB

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

Preview Lab → · Contrast checker → · Palette generator →

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