#674BEC#674BEC

#674BEC is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.2% C 0.229 H 283.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#674BEC
RGBrgb(103, 75, 236)
HSLhsl(250, 81%, 61%)
HSVhsv(250, 68%, 93%)
CMYKcmyk(56.4%, 68.2%, 0%, 7.5%)
CIE-LABlab(44.19, 53.24, -77.30)
CIE-LCHlch(44.19, 93.86, 304.56°)
OKLaboklab(54.19% 0.054 -0.2225)
OKLCHoklch(54.19% 0.229 283.6)
XYZxyz(23.2453, 13.9704, 80.8123)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674BEC #D0EC4B
analogous
#4B7FEC #674BEC #B84BEC
triadic
#674BEC #EC674B #4BEC67
tetradic
#674BEC #EC4B7F #D0EC4B #4BECB8
square
#674BEC #EC4B7F #D0EC4B #4BECB8
split-complementary
#674BEC #ECB84B #7FEC4B
monochromatic
#2D12AB #3B18E2 #674BEC #9682F2 #C4BAF8

Accessibility & contrast

On white

5.53
#674BEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#674BEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674BEC
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674BEC#FFFFFF#000000##FFFFFF
##674BEC1.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF1
Deuteranopia (green-blind)
#0063E9
Tritanopia (blue-blind)
#217596
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #674bec;
/* rgb */ color: rgb(103, 75, 236);
/* oklch */ color: oklch(54.2% 0.229 283.6);
Tailwind
colors: {
  custom: {
    50: '#9f80f3',
    500: '#674bec',
    950: '#000000',
  },
}
SCSS
$custom: #674bec;
$custom-light: #9f80f3;
$custom-dark: #000000;
JSON
{
  "hex": "#674bec",
  "rgb": {
    "r": 103,
    "g": 75,
    "b": 236
  },
  "hsl": {
    "h": 250.435,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54187,
    "c": 0.22894,
    "h": 283.6
  },
  "luminance": 0.13972
}

Semantic roles & 50–950 ramp

primary
#674BEC
secondary
#DDE8AB
accent
#DD08B8
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #674BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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