#674BCA#674BCA

#674BCA is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.4% C 0.188 H 288.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#674BCA
RGBrgb(103, 75, 202)
HSLhsl(253, 55%, 54%)
HSVhsv(253, 63%, 79%)
CMYKcmyk(49%, 62.9%, 0%, 20.8%)
CIE-LABlab(41.50, 43.31, -62.27)
CIE-LCHlch(41.50, 75.85, 304.82°)
OKLaboklab(51.41% 0.0583 -0.1783)
OKLCHoklch(51.41% 0.188 288.1)
XYZxyz(18.7672, 12.1792, 57.2276)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674BCA #AECA4B
analogous
#4B6FCA #674BCA #A64BCA
triadic
#674BCA #CA674B #4BCA67
tetradic
#674BCA #CA4B6F #AECA4B #4BCAA6
square
#674BCA #CA4B6F #AECA4B #4BCAA6
split-complementary
#674BCA #CAA64B #6FCA4B
monochromatic
#362377 #4B31A7 #674BCA #8F7AD8 #B7AAE6

Accessibility & contrast

On white

6.11
#674BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#674BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674BCA
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674BCA#FFFFFF#000000##FFFFFF
##674BCA1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#456983
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #674bca;
/* rgb */ color: rgb(103, 75, 202);
/* oklch */ color: oklch(51.4% 0.188 288.1);
Tailwind
colors: {
  custom: {
    50: '#9a7fdb',
    500: '#674bca',
    950: '#000000',
  },
}
SCSS
$custom: #674bca;
$custom-light: #9a7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#674bca",
  "rgb": {
    "r": 103,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 253.228,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5141,
    "c": 0.1876,
    "h": 288.1
  },
  "luminance": 0.1218
}

Semantic roles & 50–950 ramp

primary
#674BCA
secondary
#C7D39D
accent
#DE4ABD
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #674BCA

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

Preview Lab → · Contrast checker → · Palette generator →

#674BCA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva