#674BCF#674BCF

#674BCF is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.8% C 0.194 H 287.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#674BCF
RGBrgb(103, 75, 207)
HSLhsl(253, 58%, 55%)
HSVhsv(253, 64%, 81%)
CMYKcmyk(50.2%, 63.8%, 0%, 18.8%)
CIE-LABlab(41.88, 44.77, -64.54)
CIE-LCHlch(41.88, 78.55, 304.75°)
OKLaboklab(51.8% 0.0578 -0.185)
OKLCHoklch(51.8% 0.194 287.4)
XYZxyz(19.3688, 12.4198, 60.3961)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674BCF #B3CF4B
analogous
#4B71CF #674BCF #A94BCF
triadic
#674BCF #CF674B #4BCF67
tetradic
#674BCF #CF4B71 #B3CF4B #4BCFA9
square
#674BCF #CF4B71 #B3CF4B #4BCFA9
split-complementary
#674BCF #CFA94B #71CF4B
monochromatic
#35227E #4A2EAE #674BCF #907BDC #B9ACE9

Accessibility & contrast

On white

6.03
#674BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#674BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674BCF
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674BCF#FFFFFF#000000##FFFFFF
##674BCF1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#416B86
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #674bcf;
/* rgb */ color: rgb(103, 75, 207);
/* oklch */ color: oklch(51.8% 0.194 287.4);
Tailwind
colors: {
  custom: {
    50: '#9b7fdf',
    500: '#674bcf',
    950: '#000000',
  },
}
SCSS
$custom: #674bcf;
$custom-light: #9b7fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#674bcf",
  "rgb": {
    "r": 103,
    "g": 75,
    "b": 207
  },
  "hsl": {
    "h": 252.727,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51801,
    "c": 0.19383,
    "h": 287.4
  },
  "luminance": 0.12421
}

Semantic roles & 50–950 ramp

primary
#674BCF
secondary
#CBD69F
accent
#E147C0
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #674BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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