#6248AF#6248AF

#6248AF is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.4% C 0.157 H 291.0°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#6248AF
RGBrgb(98, 72, 175)
HSLhsl(255, 42%, 48%)
HSVhsv(255, 59%, 69%)
CMYKcmyk(44%, 58.9%, 0%, 31.4%)
CIE-LABlab(38.42, 36.17, -51.47)
CIE-LCHlch(38.42, 62.90, 305.10°)
OKLaboklab(48.43% 0.0563 -0.1467)
OKLCHoklch(48.43% 0.157 291)
XYZxyz(15.0901, 10.3261, 41.7472)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6248AF #95AF48
analogous
#4861AF #6248AF #9548AF
triadic
#6248AF #AF6248 #48AF62
tetradic
#6248AF #AF4861 #95AF48 #48AF95
square
#6248AF #AF4861 #95AF48 #48AF95
split-complementary
#6248AF #AF9548 #61AF48
monochromatic
#312458 #4A3684 #6248AF #8570C4 #AA9BD6

Accessibility & contrast

On white

6.85
#6248AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#6248AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6248AF
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6248AF#FFFFFF#000000##FFFFFF
##6248AF1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#0A58AD
Tritanopia (blue-blind)
#4C5F74
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6248af;
/* rgb */ color: rgb(98, 72, 175);
/* oklch */ color: oklch(48.4% 0.157 291.0);
Tailwind
colors: {
  custom: {
    50: '#947cc8',
    500: '#6248af',
    950: '#000000',
  },
}
SCSS
$custom: #6248af;
$custom-light: #947cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6248af",
  "rgb": {
    "r": 98,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 255.146,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48432,
    "c": 0.15716,
    "h": 291
  },
  "luminance": 0.10327
}

Semantic roles & 50–950 ramp

primary
#6248AF
secondary
#B6C290
accent
#D256B2
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6248AF

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

Preview Lab → · Contrast checker → · Palette generator →

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