#6948ED#6948ED

#6948ED is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.0% C 0.233 H 284.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#6948ED
RGBrgb(105, 72, 237)
HSLhsl(252, 82%, 61%)
HSVhsv(252, 70%, 93%)
CMYKcmyk(55.7%, 69.6%, 0%, 7.1%)
CIE-LABlab(43.87, 55.41, -78.38)
CIE-LCHlch(43.87, 95.99, 305.26°)
OKLaboklab(54.03% 0.0589 -0.2256)
OKLCHoklch(54.03% 0.233 284.6)
XYZxyz(23.4245, 13.7510, 81.5242)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6948ED #CCED48
analogous
#4879ED #6948ED #BB48ED
triadic
#6948ED #ED6948 #48ED69
tetradic
#6948ED #ED4879 #CCED48 #48EDBB
square
#6948ED #ED4879 #CCED48 #48EDBB
split-complementary
#6948ED #EDBB48 #79ED48
monochromatic
#2F11AA #3F16E2 #6948ED #9780F2 #C4B7F8

Accessibility & contrast

On white

5.60
#6948ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#6948ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6948ED
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6948ED#FFFFFF#000000##FFFFFF
##6948ED1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF2
Deuteranopia (green-blind)
#0062EA
Tritanopia (blue-blind)
#287496
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6948ed;
/* rgb */ color: rgb(105, 72, 237);
/* oklch */ color: oklch(54.0% 0.233 284.6);
Tailwind
colors: {
  custom: {
    50: '#a07ef4',
    500: '#6948ed',
    950: '#000000',
  },
}
SCSS
$custom: #6948ed;
$custom-light: #a07ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#6948ed",
  "rgb": {
    "r": 105,
    "g": 72,
    "b": 237
  },
  "hsl": {
    "h": 252,
    "s": 82.09,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54029,
    "c": 0.23312,
    "h": 284.6
  },
  "luminance": 0.13752
}

Semantic roles & 50–950 ramp

primary
#6948ED
secondary
#DBE8A9
accent
#DE07B3
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6948ED

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

Preview Lab → · Contrast checker → · Palette generator →

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