#674BCB#674BCB

#674BCB is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.5% C 0.189 H 287.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#674BCB
RGBrgb(103, 75, 203)
HSLhsl(253, 55%, 55%)
HSVhsv(253, 63%, 80%)
CMYKcmyk(49.3%, 63.1%, 0%, 20.4%)
CIE-LABlab(41.57, 43.60, -62.72)
CIE-LCHlch(41.57, 76.39, 304.81°)
OKLaboklab(51.49% 0.0582 -0.1797)
OKLCHoklch(51.49% 0.189 287.9)
XYZxyz(18.8860, 12.2267, 57.8532)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674BCB #AFCB4B
analogous
#4B6FCB #674BCB #A74BCB
triadic
#674BCB #CB674B #4BCB67
tetradic
#674BCB #CB4B6F #AFCB4B #4BCBA7
square
#674BCB #CB4B6F #AFCB4B #4BCBA7
split-complementary
#674BCB #CBA74B #6FCB4B
monochromatic
#362379 #4B31A8 #674BCB #8F7AD9 #B7AAE6

Accessibility & contrast

On white

6.09
#674BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#674BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674BCB
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674BCB#FFFFFF#000000##FFFFFF
##674BCB1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#446A84
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #674bcb;
/* rgb */ color: rgb(103, 75, 203);
/* oklch */ color: oklch(51.5% 0.189 287.9);
Tailwind
colors: {
  custom: {
    50: '#9a7fdc',
    500: '#674bcb',
    950: '#000000',
  },
}
SCSS
$custom: #674bcb;
$custom-light: #9a7fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#674bcb",
  "rgb": {
    "r": 103,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 253.125,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51487,
    "c": 0.18885,
    "h": 287.9
  },
  "luminance": 0.12228
}

Semantic roles & 50–950 ramp

primary
#674BCB
secondary
#C8D49E
accent
#DF49BE
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #674BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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