#6948FF#6948FF

#6948FF is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.6% C 0.254 H 282.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#6948FF
RGBrgb(105, 72, 255)
HSLhsl(251, 100%, 64%)
HSVhsv(251, 72%, 100%)
CMYKcmyk(58.8%, 71.8%, 0%, 0%)
CIE-LABlab(45.44, 60.54, -85.90)
CIE-LCHlch(45.44, 105.09, 305.17°)
OKLaboklab(55.62% 0.0554 -0.2476)
OKLCHoklch(55.62% 0.254 282.6)
XYZxyz(26.1875, 14.8562, 96.0759)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6948FF #DEFF48
analogous
#4883FF #6948FF #C548FF
triadic
#6948FF #FF6948 #48FF69
tetradic
#6948FF #FF4883 #DEFF48 #48FFC5
square
#6948FF #FF4883 #DEFF48 #48FFC5
split-complementary
#6948FF #FFC548 #83FF48
monochromatic
#2500CD #370BFF #6948FF #9B85FF #CDC2FF

Accessibility & contrast

On white

5.29
#6948FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#6948FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6948FF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6948FF#FFFFFF#000000##FFFFFF
##6948FF1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071FF
Deuteranopia (green-blind)
#0065FC
Tritanopia (blue-blind)
#007BA0
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6948ff;
/* rgb */ color: rgb(105, 72, 255);
/* oklch */ color: oklch(55.6% 0.254 282.6);
Tailwind
colors: {
  custom: {
    50: '#a37eff',
    500: '#6948ff',
    950: '#000000',
  },
}
SCSS
$custom: #6948ff;
$custom-light: #a37eff;
$custom-dark: #000000;
JSON
{
  "hex": "#6948ff",
  "rgb": {
    "r": 105,
    "g": 72,
    "b": 255
  },
  "hsl": {
    "h": 250.82,
    "s": 100,
    "l": 64.118
  },
  "oklch": {
    "l": 0.55616,
    "c": 0.25371,
    "h": 282.6
  },
  "luminance": 0.14858
}

Semantic roles & 50–950 ramp

primary
#6948FF
secondary
#E6F1B1
accent
#E600BC
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A18
muted
#807C86

Preview Lab

Preview with #6948FF

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

Preview Lab → · Contrast checker → · Palette generator →

#6948FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva