#6148CA#6148CA

#6148CA is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.4% C 0.192 H 286.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#6148CA
RGBrgb(97, 72, 202)
HSLhsl(252, 55%, 54%)
HSVhsv(252, 64%, 79%)
CMYKcmyk(52%, 64.4%, 0%, 20.8%)
CIE-LABlab(40.31, 43.90, -64.22)
CIE-LCHlch(40.31, 77.80, 304.36°)
OKLaboklab(50.41% 0.0532 -0.1843)
OKLCHoklch(50.41% 0.192 286.1)
XYZxyz(17.9046, 11.4395, 57.1303)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6148CA #B1CA48
analogous
#4870CA #6148CA #A248CA
triadic
#6148CA #CA6148 #48CA61
tetradic
#6148CA #CA4870 #B1CA48 #48CAA2
square
#6148CA #CA4870 #B1CA48 #48CAA2
split-complementary
#6148CA #CAA248 #70CA48
monochromatic
#322276 #4630A5 #6148CA #8A77D8 #B3A7E5

Accessibility & contrast

On white

6.39
#6148CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#6148CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6148CA
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6148CA#FFFFFF#000000##FFFFFF
##6148CA1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#005BC7
Tritanopia (blue-blind)
#386882
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6148ca;
/* rgb */ color: rgb(97, 72, 202);
/* oklch */ color: oklch(50.4% 0.192 286.1);
Tailwind
colors: {
  custom: {
    50: '#977cdb',
    500: '#6148ca',
    950: '#000000',
  },
}
SCSS
$custom: #6148ca;
$custom-light: #977cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6148ca",
  "rgb": {
    "r": 97,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 251.538,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50414,
    "c": 0.19181,
    "h": 286.1
  },
  "luminance": 0.1144
}

Semantic roles & 50–950 ramp

primary
#6148CA
secondary
#C8D39B
accent
#DE49C2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6148CA

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

Preview Lab → · Contrast checker → · Palette generator →

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