#6734CA#6734CA

#6734CA is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.3% C 0.215 H 291.8°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#6734CA
RGBrgb(103, 52, 202)
HSLhsl(260, 59%, 50%)
HSVhsv(260, 74%, 79%)
CMYKcmyk(49%, 74.3%, 0%, 20.8%)
CIE-LABlab(37.12, 55.37, -69.41)
CIE-LCHlch(37.12, 88.79, 308.58°)
OKLaboklab(48.28% 0.0797 -0.1992)
OKLCHoklch(48.28% 0.215 291.8)
XYZxyz(17.4792, 9.6032, 56.7983)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6734CA #97CA34
analogous
#344CCA #6734CA #B234CA
triadic
#6734CA #CA6734 #34CA67
tetradic
#6734CA #CA344C #97CA34 #34CAB2
square
#6734CA #CA344C #97CA34 #34CAB2
split-complementary
#6734CA #CAB234 #4CCA34
monochromatic
#351B69 #4E2799 #6734CA #8B64D7 #B095E4

Accessibility & contrast

On white

7.19
#6734CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#6734CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6734CA
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6734CA#FFFFFF#000000##FFFFFF
##6734CA1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACE
Deuteranopia (green-blind)
#0054C7
Tritanopia (blue-blind)
#465D7D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6734ca;
/* rgb */ color: rgb(103, 52, 202);
/* oklch */ color: oklch(48.3% 0.215 291.8);
Tailwind
colors: {
  custom: {
    50: '#9c71db',
    500: '#6734ca',
    950: '#000000',
  },
}
SCSS
$custom: #6734ca;
$custom-light: #9c71db;
$custom-dark: #000000;
JSON
{
  "hex": "#6734ca",
  "rgb": {
    "r": 103,
    "g": 52,
    "b": 202
  },
  "hsl": {
    "h": 260.4,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48275,
    "c": 0.21459,
    "h": 291.8
  },
  "luminance": 0.09604
}

Semantic roles & 50–950 ramp

primary
#6734CA
secondary
#B8CF8B
accent
#E246AD
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6734CA

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

Preview Lab → · Contrast checker → · Palette generator →

#6734CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva