#874CDB#874CDB

#874CDB is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.0% C 0.208 H 298.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#874CDB
RGBrgb(135, 76, 219)
HSLhsl(265, 67%, 58%)
HSVhsv(265, 65%, 86%)
CMYKcmyk(38.4%, 65.3%, 0%, 14.1%)
CIE-LABlab(46.22, 53.68, -64.21)
CIE-LCHlch(46.22, 83.70, 309.90°)
OKLaboklab(55.98% 0.0987 -0.183)
OKLCHoklch(55.98% 0.208 298.3)
XYZxyz(25.3591, 15.4339, 68.6471)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874CDB #A0DB4C
analogous
#4C58DB #874CDB #CE4CDB
triadic
#874CDB #DB874C #4CDB87
tetradic
#874CDB #DB4C58 #A0DB4C #4CDBCE
square
#874CDB #DB4C58 #A0DB4C #4CDBCE
split-complementary
#874CDB #DBCE4C #58DB4C
monochromatic
#4C1D90 #6727C3 #874CDB #A97FE5 #CBB2EF

Accessibility & contrast

On white

5.14
#874CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#874CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874CDB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874CDB#FFFFFF#000000##FFFFFF
##874CDB1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#006CD8
Tritanopia (blue-blind)
#736D8D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #874cdb;
/* rgb */ color: rgb(135, 76, 219);
/* oklch */ color: oklch(56.0% 0.208 298.3);
Tailwind
colors: {
  custom: {
    50: '#b082e7',
    500: '#874cdb',
    950: '#000000',
  },
}
SCSS
$custom: #874cdb;
$custom-light: #b082e7;
$custom-dark: #000000;
JSON
{
  "hex": "#874cdb",
  "rgb": {
    "r": 135,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 264.755,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55979,
    "c": 0.20794,
    "h": 298.3
  },
  "luminance": 0.15434
}

Semantic roles & 50–950 ramp

primary
#874CDB
secondary
#C6DEA5
accent
#E93EA3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #874CDB

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

Preview Lab → · Contrast checker → · Palette generator →

#874CDB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva