#6245BC#6245BC

#6245BC is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.9% C 0.178 H 289.4°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#6245BC
RGBrgb(98, 69, 188)
HSLhsl(255, 47%, 50%)
HSVhsv(255, 63%, 74%)
CMYKcmyk(47.9%, 63.3%, 0%, 26.3%)
CIE-LABlab(38.70, 41.69, -58.68)
CIE-LCHlch(38.70, 71.99, 305.39°)
OKLaboklab(48.93% 0.059 -0.1679)
OKLCHoklch(48.93% 0.178 289.4)
XYZxyz(16.2396, 10.4831, 48.7350)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6245BC #9FBC45
analogous
#4563BC #6245BC #9E45BC
triadic
#6245BC #BC6245 #45BC62
tetradic
#6245BC #BC4563 #9FBC45 #45BC9E
square
#6245BC #BC4563 #9FBC45 #45BC9E
split-complementary
#6245BC #BC9E45 #63BC45
monochromatic
#332463 #4A3490 #6245BC #8872CC #AE9FDC

Accessibility & contrast

On white

6.78
#6245BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#6245BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6245BC
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6245BC#FFFFFF#000000##FFFFFF
##6245BC1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#45617A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6245bc;
/* rgb */ color: rgb(98, 69, 188);
/* oklch */ color: oklch(48.9% 0.178 289.4);
Tailwind
colors: {
  custom: {
    50: '#967ad1',
    500: '#6245bc',
    950: '#000000',
  },
}
SCSS
$custom: #6245bc;
$custom-light: #967ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#6245bc",
  "rgb": {
    "r": 98,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 254.622,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48929,
    "c": 0.17801,
    "h": 289.4
  },
  "luminance": 0.10484
}

Semantic roles & 50–950 ramp

primary
#6245BC
secondary
#BCC994
accent
#D751B6
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6245BC

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

Preview Lab → · Contrast checker → · Palette generator →

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