#6245E6#6245E6

#6245E6 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.4% C 0.229 H 283.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#6245E6
RGBrgb(98, 69, 230)
HSLhsl(251, 76%, 59%)
HSVhsv(251, 70%, 90%)
CMYKcmyk(57.4%, 70%, 0%, 9.8%)
CIE-LABlab(42.10, 53.95, -77.35)
CIE-LCHlch(42.10, 94.31, 304.90°)
OKLaboklab(52.43% 0.0531 -0.2227)
OKLCHoklch(52.43% 0.229 283.4)
XYZxyz(21.4437, 12.5647, 76.1428)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6245E6 #C9E645
analogous
#4578E6 #6245E6 #B245E6
triadic
#6245E6 #E66245 #45E662
tetradic
#6245E6 #E64578 #C9E645 #45E6B2
square
#6245E6 #E64578 #C9E645 #45E6B2
split-complementary
#6245E6 #E6B245 #78E645
monochromatic
#2D159C #3D1CD2 #6245E6 #907BED #BDB1F5

Accessibility & contrast

On white

5.98
#6245E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#6245E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6245E6
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6245E6#FFFFFF#000000##FFFFFF
##6245E61.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EB
Deuteranopia (green-blind)
#005EE3
Tritanopia (blue-blind)
#157091
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6245e6;
/* rgb */ color: rgb(98, 69, 230);
/* oklch */ color: oklch(52.4% 0.229 283.4);
Tailwind
colors: {
  custom: {
    50: '#9c7bef',
    500: '#6245e6',
    950: '#000000',
  },
}
SCSS
$custom: #6245e6;
$custom-light: #9c7bef;
$custom-dark: #000000;
JSON
{
  "hex": "#6245e6",
  "rgb": {
    "r": 98,
    "g": 69,
    "b": 230
  },
  "hsl": {
    "h": 250.807,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52432,
    "c": 0.22898,
    "h": 283.4
  },
  "luminance": 0.12566
}

Semantic roles & 50–950 ramp

primary
#6245E6
secondary
#D8E3A4
accent
#F335D1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6245E6

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

Preview Lab → · Contrast checker → · Palette generator →

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