#6948E4#6948E4

#6948E4 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.3% C 0.223 H 285.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#6948E4
RGBrgb(105, 72, 228)
HSLhsl(253, 74%, 59%)
HSVhsv(253, 68%, 89%)
CMYKcmyk(53.9%, 68.4%, 0%, 10.6%)
CIE-LABlab(43.12, 52.83, -74.52)
CIE-LCHlch(43.12, 91.35, 305.33°)
OKLaboklab(53.26% 0.0605 -0.2142)
OKLCHoklch(53.26% 0.223 285.8)
XYZxyz(22.1424, 13.2382, 74.7722)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6948E4 #C3E448
analogous
#4875E4 #6948E4 #B748E4
triadic
#6948E4 #E46948 #48E469
tetradic
#6948E4 #E44875 #C3E448 #48E4B7
square
#6948E4 #E44875 #C3E448 #48E4B7
split-complementary
#6948E4 #E4B748 #75E448
monochromatic
#33179B #441FD0 #6948E4 #957DEC #C0B3F4

Accessibility & contrast

On white

5.76
#6948E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#6948E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6948E4
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6948E4#FFFFFF#000000##FFFFFF
##6948E41.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE9
Deuteranopia (green-blind)
#0061E1
Tritanopia (blue-blind)
#337191
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6948e4;
/* rgb */ color: rgb(105, 72, 228);
/* oklch */ color: oklch(53.3% 0.223 285.8);
Tailwind
colors: {
  custom: {
    50: '#9f7eee',
    500: '#6948e4',
    950: '#000000',
  },
}
SCSS
$custom: #6948e4;
$custom-light: #9f7eee;
$custom-dark: #000000;
JSON
{
  "hex": "#6948e4",
  "rgb": {
    "r": 105,
    "g": 72,
    "b": 228
  },
  "hsl": {
    "h": 252.692,
    "s": 74.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53259,
    "c": 0.22262,
    "h": 285.8
  },
  "luminance": 0.13239
}

Semantic roles & 50–950 ramp

primary
#6948E4
secondary
#D6E3A5
accent
#F137CA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6948E4

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

Preview Lab → · Contrast checker → · Palette generator →

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