#674FCB#674FCB

#674FCB is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.1% C 0.184 H 287.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#674FCB
RGBrgb(103, 79, 203)
HSLhsl(252, 54%, 55%)
HSVhsv(252, 61%, 80%)
CMYKcmyk(49.3%, 61.1%, 0%, 20.4%)
CIE-LABlab(42.44, 41.31, -61.32)
CIE-LCHlch(42.44, 73.93, 303.97°)
OKLaboklab(52.12% 0.054 -0.1755)
OKLCHoklch(52.12% 0.184 287.1)
XYZxyz(19.1658, 12.7864, 57.9465)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674FCB #B3CB4F
analogous
#4F75CB #674FCB #A54FCB
triadic
#674FCB #CB674F #4FCB67
tetradic
#674FCB #CB4F75 #B3CB4F #4FCBA5
square
#674FCB #CB4F75 #B3CB4F #4FCBA5
split-complementary
#674FCB #CBA54F #75CB4F
monochromatic
#35247B #4A32AA #674FCB #907ED9 #B9ADE7

Accessibility & contrast

On white

5.90
#674FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#674FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674FCB
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674FCB#FFFFFF#000000##FFFFFF
##674FCB1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#446C85
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #674fcb;
/* rgb */ color: rgb(103, 79, 203);
/* oklch */ color: oklch(52.1% 0.184 287.1);
Tailwind
colors: {
  custom: {
    50: '#9a81dc',
    500: '#674fcb',
    950: '#000000',
  },
}
SCSS
$custom: #674fcb;
$custom-light: #9a81dc;
$custom-dark: #000000;
JSON
{
  "hex": "#674fcb",
  "rgb": {
    "r": 103,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 251.613,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52118,
    "c": 0.18365,
    "h": 287.1
  },
  "luminance": 0.12787
}

Semantic roles & 50–950 ramp

primary
#674FCB
secondary
#CBD5A1
accent
#DE4AC1
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #674FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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