#6148DA#6148DA

#6148DA is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.7% C 0.211 H 284.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#6148DA
RGBrgb(97, 72, 218)
HSLhsl(250, 66%, 57%)
HSVhsv(250, 67%, 85%)
CMYKcmyk(55.5%, 67%, 0%, 14.5%)
CIE-LABlab(41.59, 48.66, -71.35)
CIE-LCHlch(41.59, 86.36, 304.29°)
OKLaboklab(51.74% 0.0513 -0.2052)
OKLCHoklch(51.74% 0.211 284)
XYZxyz(19.8982, 12.2369, 67.6295)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6148DA #C1DA48
analogous
#4878DA #6148DA #AA48DA
triadic
#6148DA #DA6148 #48DA61
tetradic
#6148DA #DA4878 #C1DA48 #48DAAA
square
#6148DA #DA4878 #C1DA48 #48DAAA
split-complementary
#6148DA #DAAA48 #78DA48
monochromatic
#2F1C8B #4026BE #6148DA #8D7BE4 #B9AEEF

Accessibility & contrast

On white

6.09
#6148DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#6148DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6148DA
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6148DA#FFFFFF#000000##FFFFFF
##6148DA1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DE
Deuteranopia (green-blind)
#005DD7
Tritanopia (blue-blind)
#266E8B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6148da;
/* rgb */ color: rgb(97, 72, 218);
/* oklch */ color: oklch(51.7% 0.211 284.0);
Tailwind
colors: {
  custom: {
    50: '#997de7',
    500: '#6148da',
    950: '#000000',
  },
}
SCSS
$custom: #6148da;
$custom-light: #997de7;
$custom-dark: #000000;
JSON
{
  "hex": "#6148da",
  "rgb": {
    "r": 97,
    "g": 72,
    "b": 218
  },
  "hsl": {
    "h": 250.274,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51735,
    "c": 0.21149,
    "h": 284
  },
  "luminance": 0.12238
}

Semantic roles & 50–950 ramp

primary
#6148DA
secondary
#D2DDA1
accent
#E93FCC
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6148DA

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

Preview Lab → · Contrast checker → · Palette generator →

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