#6248E1#6248E1

#6248E1 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.4% C 0.220 H 283.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#6248E1
RGBrgb(98, 72, 225)
HSLhsl(250, 72%, 58%)
HSVhsv(250, 68%, 88%)
CMYKcmyk(56.4%, 68%, 0%, 11.8%)
CIE-LABlab(42.26, 50.88, -74.25)
CIE-LCHlch(42.26, 90.01, 304.42°)
OKLaboklab(52.41% 0.0515 -0.2137)
OKLCHoklch(52.41% 0.22 283.6)
XYZxyz(20.9408, 12.6663, 72.5610)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6248E1 #C7E148
analogous
#487AE1 #6248E1 #AE48E1
triadic
#6248E1 #E16248 #48E162
tetradic
#6248E1 #E1487A #C7E148 #48E1AE
square
#6248E1 #E1487A #C7E148 #48E1AE
split-complementary
#6248E1 #E1AE48 #7AE148
monochromatic
#2E1996 #3E21CB #6248E1 #8F7DEA #BCB1F2

Accessibility & contrast

On white

5.94
#6248E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#6248E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6248E1
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6248E1#FFFFFF#000000##FFFFFF
##6248E11.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E6
Deuteranopia (green-blind)
#005FDE
Tritanopia (blue-blind)
#1F708F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6248e1;
/* rgb */ color: rgb(98, 72, 225);
/* oklch */ color: oklch(52.4% 0.220 283.6);
Tailwind
colors: {
  custom: {
    50: '#9b7dec',
    500: '#6248e1',
    950: '#000000',
  },
}
SCSS
$custom: #6248e1;
$custom-light: #9b7dec;
$custom-dark: #000000;
JSON
{
  "hex": "#6248e1",
  "rgb": {
    "r": 98,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 250.196,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52414,
    "c": 0.21981,
    "h": 283.6
  },
  "luminance": 0.12668
}

Semantic roles & 50–950 ramp

primary
#6248E1
secondary
#D7E1A4
accent
#EF39D0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6248E1

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

Preview Lab → · Contrast checker → · Palette generator →

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