#6747EA#6747EA

#6747EA is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.5% C 0.231 H 284.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#6747EA
RGBrgb(103, 71, 234)
HSLhsl(252, 80%, 60%)
HSVhsv(252, 70%, 92%)
CMYKcmyk(56%, 69.7%, 0%, 8.2%)
CIE-LABlab(43.26, 54.78, -77.71)
CIE-LCHlch(43.26, 95.07, 305.18°)
OKLaboklab(53.47% 0.0575 -0.2236)
OKLCHoklch(53.47% 0.231 284.4)
XYZxyz(22.6935, 13.3292, 79.2029)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6747EA #CAEA47
analogous
#4779EA #6747EA #B847EA
triadic
#6747EA #EA6747 #47EA67
tetradic
#6747EA #EA4779 #CAEA47 #47EAB8
square
#6747EA #EA4779 #CAEA47 #47EAB8
split-complementary
#6747EA #EAB847 #79EA47
monochromatic
#2F13A4 #3F19DB #6747EA #947EF0 #C2B5F7

Accessibility & contrast

On white

5.73
#6747EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6747EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6747EA
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6747EA#FFFFFF#000000##FFFFFF
##6747EA1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEF
Deuteranopia (green-blind)
#0061E7
Tritanopia (blue-blind)
#257294
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6747ea;
/* rgb */ color: rgb(103, 71, 234);
/* oklch */ color: oklch(53.5% 0.231 284.4);
Tailwind
colors: {
  custom: {
    50: '#9f7df2',
    500: '#6747ea',
    950: '#000000',
  },
}
SCSS
$custom: #6747ea;
$custom-light: #9f7df2;
$custom-dark: #000000;
JSON
{
  "hex": "#6747ea",
  "rgb": {
    "r": 103,
    "g": 71,
    "b": 234
  },
  "hsl": {
    "h": 251.779,
    "s": 79.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53467,
    "c": 0.23093,
    "h": 284.4
  },
  "luminance": 0.13331
}

Semantic roles & 50–950 ramp

primary
#6747EA
secondary
#DAE6A7
accent
#F632CF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6747EA

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

Preview Lab → · Contrast checker → · Palette generator →

#6747EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva