#674CCF#674CCF

#674CCF is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.0% C 0.193 H 287.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#674CCF
RGBrgb(103, 76, 207)
HSLhsl(252, 58%, 55%)
HSVhsv(252, 63%, 81%)
CMYKcmyk(50.2%, 63.3%, 0%, 18.8%)
CIE-LABlab(42.09, 44.20, -64.20)
CIE-LCHlch(42.09, 77.94, 304.55°)
OKLaboklab(51.95% 0.0568 -0.184)
OKLCHoklch(51.95% 0.193 287.2)
XYZxyz(19.4371, 12.5565, 60.4189)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674CCF #B4CF4C
analogous
#4C73CF #674CCF #A84CCF
triadic
#674CCF #CF674C #4CCF67
tetradic
#674CCF #CF4C73 #B4CF4C #4CCFA8
square
#674CCF #CF4C73 #B4CF4C #4CCFA8
split-complementary
#674CCF #CFA84C #73CF4C
monochromatic
#35227F #492FAF #674CCF #907CDC #B9ADE9

Accessibility & contrast

On white

5.98
#674CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#674CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674CCF
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674CCF#FFFFFF#000000##FFFFFF
##674CCF1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#0060CC
Tritanopia (blue-blind)
#416C86
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #674ccf;
/* rgb */ color: rgb(103, 76, 207);
/* oklch */ color: oklch(52.0% 0.193 287.2);
Tailwind
colors: {
  custom: {
    50: '#9b7fdf',
    500: '#674ccf',
    950: '#000000',
  },
}
SCSS
$custom: #674ccf;
$custom-light: #9b7fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#674ccf",
  "rgb": {
    "r": 103,
    "g": 76,
    "b": 207
  },
  "hsl": {
    "h": 252.366,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51954,
    "c": 0.19257,
    "h": 287.2
  },
  "luminance": 0.12557
}

Semantic roles & 50–950 ramp

primary
#674CCF
secondary
#CBD7A0
accent
#E147C1
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #674CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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