#6248DD#6248DD

#6248DD is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.1% C 0.215 H 284.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#6248DD
RGBrgb(98, 72, 221)
HSLhsl(250, 69%, 57%)
HSVhsv(250, 67%, 87%)
CMYKcmyk(55.7%, 67.4%, 0%, 13.3%)
CIE-LABlab(41.92, 49.70, -72.52)
CIE-LCHlch(41.92, 87.91, 304.43°)
OKLaboklab(52.07% 0.0522 -0.2086)
OKLCHoklch(52.07% 0.215 284)
XYZxyz(20.4015, 12.4506, 69.7208)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6248DD #C3DD48
analogous
#4878DD #6248DD #AD48DD
triadic
#6248DD #DD6248 #48DD62
tetradic
#6248DD #DD4878 #C3DD48 #48DDAD
square
#6248DD #DD4878 #C3DD48 #48DDAD
split-complementary
#6248DD #DDAD48 #78DD48
monochromatic
#2F1B90 #4024C3 #6248DD #8E7CE7 #BBAFF0

Accessibility & contrast

On white

6.02
#6248DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#6248DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6248DD
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6248DD#FFFFFF#000000##FFFFFF
##6248DD1.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)
#0067E2
Deuteranopia (green-blind)
#005EDA
Tritanopia (blue-blind)
#266F8D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6248dd;
/* rgb */ color: rgb(98, 72, 221);
/* oklch */ color: oklch(52.1% 0.215 284.0);
Tailwind
colors: {
  custom: {
    50: '#9a7de9',
    500: '#6248dd',
    950: '#000000',
  },
}
SCSS
$custom: #6248dd;
$custom-light: #9a7de9;
$custom-dark: #000000;
JSON
{
  "hex": "#6248dd",
  "rgb": {
    "r": 98,
    "g": 72,
    "b": 221
  },
  "hsl": {
    "h": 250.47,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52072,
    "c": 0.215,
    "h": 284
  },
  "luminance": 0.12452
}

Semantic roles & 50–950 ramp

primary
#6248DD
secondary
#D4DEA2
accent
#EC3CCD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6248DD

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

Preview Lab → · Contrast checker → · Palette generator →

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