#6248BE#6248BE

#6248BE is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.6% C 0.177 H 288.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#6248BE
RGBrgb(98, 72, 190)
HSLhsl(253, 48%, 51%)
HSVhsv(253, 62%, 75%)
CMYKcmyk(48.4%, 62.1%, 0%, 25.5%)
CIE-LABlab(39.49, 40.55, -58.56)
CIE-LCHlch(39.49, 71.23, 304.70°)
OKLaboklab(49.56% 0.0556 -0.1676)
OKLCHoklch(49.56% 0.177 288.4)
XYZxyz(16.6459, 10.9484, 49.9414)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6248BE #A4BE48
analogous
#4869BE #6248BE #9D48BE
triadic
#6248BE #BE6248 #48BE62
tetradic
#6248BE #BE4869 #A4BE48 #48BE9D
square
#6248BE #BE4869 #A4BE48 #48BE9D
split-complementary
#6248BE #BE9D48 #69BE48
monochromatic
#332567 #4A3594 #6248BE #8975CE #AFA2DE

Accessibility & contrast

On white

6.58
#6248BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#6248BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6248BE
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6248BE#FFFFFF#000000##FFFFFF
##6248BE1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#43647C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6248be;
/* rgb */ color: rgb(98, 72, 190);
/* oklch */ color: oklch(49.6% 0.177 288.4);
Tailwind
colors: {
  custom: {
    50: '#967cd2',
    500: '#6248be',
    950: '#000000',
  },
}
SCSS
$custom: #6248be;
$custom-light: #967cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6248be",
  "rgb": {
    "r": 98,
    "g": 72,
    "b": 190
  },
  "hsl": {
    "h": 253.22,
    "s": 47.581,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49556,
    "c": 0.17658,
    "h": 288.4
  },
  "luminance": 0.10949
}

Semantic roles & 50–950 ramp

primary
#6248BE
secondary
#BFCB97
accent
#D751BA
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6248BE

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

Preview Lab → · Contrast checker → · Palette generator →

#6248BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva