#6245DB#6245DB

#6245DB is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.5% C 0.216 H 284.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#6245DB
RGBrgb(98, 69, 219)
HSLhsl(252, 68%, 56%)
HSVhsv(252, 68%, 86%)
CMYKcmyk(55.3%, 68.5%, 0%, 14.1%)
CIE-LABlab(41.16, 50.74, -72.62)
CIE-LCHlch(41.16, 88.59, 304.95°)
OKLaboklab(51.48% 0.055 -0.2089)
OKLCHoklch(51.48% 0.216 284.7)
XYZxyz(19.9474, 11.9662, 68.2627)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6245DB #BEDB45
analogous
#4573DB #6245DB #AD45DB
triadic
#6245DB #DB6245 #45DB62
tetradic
#6245DB #DB4573 #BEDB45 #45DBAD
square
#6245DB #DB4573 #BEDB45 #45DBAD
split-complementary
#6245DB #DBAD45 #73DB45
monochromatic
#301B8B #4225BE #6245DB #8D78E5 #B9ACEF

Accessibility & contrast

On white

6.19
#6245DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#6245DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6245DB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6245DB#FFFFFF#000000##FFFFFF
##6245DB1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E0
Deuteranopia (green-blind)
#005CD8
Tritanopia (blue-blind)
#296C8B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6245db;
/* rgb */ color: rgb(98, 69, 219);
/* oklch */ color: oklch(51.5% 0.216 284.7);
Tailwind
colors: {
  custom: {
    50: '#9a7be7',
    500: '#6245db',
    950: '#000000',
  },
}
SCSS
$custom: #6245db;
$custom-light: #9a7be7;
$custom-dark: #000000;
JSON
{
  "hex": "#6245db",
  "rgb": {
    "r": 98,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 251.6,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51475,
    "c": 0.216,
    "h": 284.7
  },
  "luminance": 0.11967
}

Semantic roles & 50–950 ramp

primary
#6245DB
secondary
#D1DD9F
accent
#EA3DC9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6245DB

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

Preview Lab → · Contrast checker → · Palette generator →

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