#6148FE#6148FE

#6148FE is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.9% C 0.254 H 280.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#6148FE
RGBrgb(97, 72, 254)
HSLhsl(248, 99%, 64%)
HSVhsv(248, 72%, 100%)
CMYKcmyk(61.8%, 71.7%, 0%, 0.4%)
CIE-LABlab(44.70, 59.27, -86.58)
CIE-LCHlch(44.70, 104.92, 304.39°)
OKLaboklab(54.91% 0.045 -0.2498)
OKLCHoklch(54.91% 0.254 280.2)
XYZxyz(25.1308, 14.3300, 95.1884)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6148FE #E5FE48
analogous
#488AFE #6148FE #BC48FE
triadic
#6148FE #FE6148 #48FE61
tetradic
#6148FE #FE488A #E5FE48 #48FEBC
square
#6148FE #FE488A #E5FE48 #48FEBC
split-complementary
#6148FE #FEBC48 #8AFE48
monochromatic
#1D01CA #2C0BFE #6148FE #9685FE #CAC2FF

Accessibility & contrast

On white

5.43
#6148FE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#6148FE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6148FE
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6148FE#FFFFFF#000000##FFFFFF
##6148FE1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070FF
Deuteranopia (green-blind)
#0063FB
Tritanopia (blue-blind)
#007B9F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6148fe;
/* rgb */ color: rgb(97, 72, 254);
/* oklch */ color: oklch(54.9% 0.254 280.2);
Tailwind
colors: {
  custom: {
    50: '#9f7eff',
    500: '#6148fe',
    950: '#000000',
  },
}
SCSS
$custom: #6148fe;
$custom-light: #9f7eff;
$custom-dark: #000000;
JSON
{
  "hex": "#6148fe",
  "rgb": {
    "r": 97,
    "g": 72,
    "b": 254
  },
  "hsl": {
    "h": 248.242,
    "s": 98.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.54909,
    "c": 0.2538,
    "h": 280.2
  },
  "luminance": 0.14332
}

Semantic roles & 50–950 ramp

primary
#6148FE
secondary
#E8F1B1
accent
#E600C6
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #6148FE

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

Preview Lab → · Contrast checker → · Palette generator →

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