#6948E1#6948E1

#6948E1 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.0% C 0.219 H 286.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#6948E1
RGBrgb(105, 72, 225)
HSLhsl(253, 72%, 58%)
HSVhsv(253, 68%, 88%)
CMYKcmyk(53.3%, 68%, 0%, 11.8%)
CIE-LABlab(42.87, 51.97, -73.22)
CIE-LCHlch(42.87, 89.79, 305.37°)
OKLaboklab(53.01% 0.061 -0.2104)
OKLCHoklch(53.01% 0.219 286.2)
XYZxyz(21.7296, 13.0731, 72.5979)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6948E1 #C0E148
analogous
#4873E1 #6948E1 #B548E1
triadic
#6948E1 #E16948 #48E169
tetradic
#6948E1 #E14873 #C0E148 #48E1B5
square
#6948E1 #E14873 #C0E148 #48E1B5
split-complementary
#6948E1 #E1B548 #73E148
monochromatic
#341996 #4621CB #6948E1 #947DEA #BFB1F2

Accessibility & contrast

On white

5.81
#6948E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#6948E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6948E1
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6948E1#FFFFFF#000000##FFFFFF
##6948E11.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E6
Deuteranopia (green-blind)
#0061DE
Tritanopia (blue-blind)
#376F8F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6948e1;
/* rgb */ color: rgb(105, 72, 225);
/* oklch */ color: oklch(53.0% 0.219 286.2);
Tailwind
colors: {
  custom: {
    50: '#9f7dec',
    500: '#6948e1',
    950: '#000000',
  },
}
SCSS
$custom: #6948e1;
$custom-light: #9f7dec;
$custom-dark: #000000;
JSON
{
  "hex": "#6948e1",
  "rgb": {
    "r": 105,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 252.941,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53006,
    "c": 0.21908,
    "h": 286.2
  },
  "luminance": 0.13074
}

Semantic roles & 50–950 ramp

primary
#6948E1
secondary
#D4E1A4
accent
#EF39C7
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6948E1

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

Preview Lab → · Contrast checker → · Palette generator →

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