#6148DB#6148DB

#6148DB is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 51.8% C 0.213 H 283.9°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#6148DB
RGBrgb(97, 72, 219)
HSLhsl(250, 67%, 57%)
HSVhsv(250, 67%, 86%)
CMYKcmyk(55.7%, 67.1%, 0%, 14.1%)
CIE-LABlab(41.67, 48.95, -71.79)
CIE-LCHlch(41.67, 86.89, 304.29°)
OKLaboklab(51.82% 0.0511 -0.2065)
OKLCHoklch(51.82% 0.213 283.9)
XYZxyz(20.0294, 12.2894, 68.3208)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6148DB #C2DB48
analogous
#4879DB #6148DB #AB48DB
triadic
#6148DB #DB6148 #48DB61
tetradic
#6148DB #DB4879 #C2DB48 #48DBAB
square
#6148DB #DB4879 #C2DB48 #48DBAB
split-complementary
#6148DB #DBAB48 #79DB48
monochromatic
#2F1C8D #4026C0 #6148DB #8D7BE5 #B9AEEF

Accessibility & contrast

On white

6.07
#6148DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#6148DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6148DB
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6148DB#FFFFFF#000000##FFFFFF
##6148DB1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#005DD8
Tritanopia (blue-blind)
#256E8C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6148db;
/* rgb */ color: rgb(97, 72, 219);
/* oklch */ color: oklch(51.8% 0.213 283.9);
Tailwind
colors: {
  custom: {
    50: '#997de7',
    500: '#6148db',
    950: '#000000',
  },
}
SCSS
$custom: #6148db;
$custom-light: #997de7;
$custom-dark: #000000;
JSON
{
  "hex": "#6148db",
  "rgb": {
    "r": 97,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 250.204,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5182,
    "c": 0.21271,
    "h": 283.9
  },
  "luminance": 0.12291
}

Semantic roles & 50–950 ramp

primary
#6148DB
secondary
#D3DDA2
accent
#EA3ECD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6148DB

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

Preview Lab → · Contrast checker → · Palette generator →

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