#6245DF#6245DF

#6245DF is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.8% C 0.221 H 284.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#6245DF
RGBrgb(98, 69, 223)
HSLhsl(251, 71%, 57%)
HSVhsv(251, 69%, 87%)
CMYKcmyk(56.1%, 69.1%, 0%, 12.5%)
CIE-LABlab(41.50, 51.91, -74.35)
CIE-LCHlch(41.50, 90.68, 304.92°)
OKLaboklab(51.82% 0.0543 -0.214)
OKLCHoklch(51.82% 0.221 284.2)
XYZxyz(20.4803, 12.1794, 71.0694)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6245DF #C2DF45
analogous
#4575DF #6245DF #AF45DF
triadic
#6245DF #DF6245 #45DF62
tetradic
#6245DF #DF4575 #C2DF45 #45DFAF
square
#6245DF #DF4575 #C2DF45 #45DFAF
split-complementary
#6245DF #DFAF45 #75DF45
monochromatic
#2F1991 #4122C5 #6245DF #8E79E8 #BAADF1

Accessibility & contrast

On white

6.11
#6245DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#6245DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6245DF
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6245DF#FFFFFF#000000##FFFFFF
##6245DF1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E4
Deuteranopia (green-blind)
#005DDC
Tritanopia (blue-blind)
#236E8D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6245df;
/* rgb */ color: rgb(98, 69, 223);
/* oklch */ color: oklch(51.8% 0.221 284.2);
Tailwind
colors: {
  custom: {
    50: '#9b7bea',
    500: '#6245df',
    950: '#000000',
  },
}
SCSS
$custom: #6245df;
$custom-light: #9b7bea;
$custom-dark: #000000;
JSON
{
  "hex": "#6245df",
  "rgb": {
    "r": 98,
    "g": 69,
    "b": 223
  },
  "hsl": {
    "h": 251.299,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5182,
    "c": 0.22075,
    "h": 284.2
  },
  "luminance": 0.12181
}

Semantic roles & 50–950 ramp

primary
#6245DF
secondary
#D3DFA1
accent
#ED3ACC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6245DF

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

Preview Lab → · Contrast checker → · Palette generator →

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