#6148DE#6148DE

#6148DE is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.1% C 0.216 H 283.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#6148DE
RGBrgb(97, 72, 222)
HSLhsl(250, 69%, 58%)
HSVhsv(250, 68%, 87%)
CMYKcmyk(56.3%, 67.6%, 0%, 12.9%)
CIE-LABlab(41.92, 49.84, -73.09)
CIE-LCHlch(41.92, 88.47, 304.29°)
OKLaboklab(52.08% 0.0507 -0.2103)
OKLCHoklch(52.08% 0.216 283.5)
XYZxyz(20.4279, 12.4488, 70.4195)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6148DE #C5DE48
analogous
#487ADE #6148DE #AC48DE
triadic
#6148DE #DE6148 #48DE61
tetradic
#6148DE #DE487A #C5DE48 #48DEAC
square
#6148DE #DE487A #C5DE48 #48DEAC
split-complementary
#6148DE #DEAC48 #7ADE48
monochromatic
#2E1A91 #3F24C5 #6148DE #8E7CE7 #BBB0F1

Accessibility & contrast

On white

6.02
#6148DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#6148DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6148DE
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6148DE#FFFFFF#000000##FFFFFF
##6148DE1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E3
Deuteranopia (green-blind)
#005EDB
Tritanopia (blue-blind)
#206F8D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6148de;
/* rgb */ color: rgb(97, 72, 222);
/* oklch */ color: oklch(52.1% 0.216 283.5);
Tailwind
colors: {
  custom: {
    50: '#9a7de9',
    500: '#6148de',
    950: '#000000',
  },
}
SCSS
$custom: #6148de;
$custom-light: #9a7de9;
$custom-dark: #000000;
JSON
{
  "hex": "#6148de",
  "rgb": {
    "r": 97,
    "g": 72,
    "b": 222
  },
  "hsl": {
    "h": 250,
    "s": 69.444,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52075,
    "c": 0.21633,
    "h": 283.5
  },
  "luminance": 0.1245
}

Semantic roles & 50–950 ramp

primary
#6148DE
secondary
#D5DFA3
accent
#EC3CCF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6148DE

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

Preview Lab → · Contrast checker → · Palette generator →

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