#7154CB#7154CB

#7154CB is a mid, vivid violet. Relative luminance 0.142; OKLCH L 53.8% C 0.177 H 290.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7154CB
RGBrgb(113, 84, 203)
HSLhsl(255, 53%, 56%)
HSVhsv(255, 59%, 80%)
CMYKcmyk(44.3%, 58.6%, 0%, 20.4%)
CIE-LABlab(44.46, 40.48, -58.00)
CIE-LCHlch(44.46, 70.72, 304.91°)
OKLaboklab(53.82% 0.0617 -0.1654)
OKLCHoklch(53.82% 0.177 290.4)
XYZxyz(20.7569, 14.1624, 58.1283)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154CB #AECB54
analogous
#5473CB #7154CB #AD54CB
triadic
#7154CB #CB7154 #54CB71
tetradic
#7154CB #CB5473 #AECB54 #54CBAD
square
#7154CB #CB5473 #AECB54 #54CBAD
split-complementary
#7154CB #CBAD54 #73CB54
monochromatic
#3C267E #5235AD #7154CB #9883D9 #BFB2E8

Accessibility & contrast

On white

5.48
#7154CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7154CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154CB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154CB#FFFFFF#000000##FFFFFF
##7154CB1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#0366C8
Tritanopia (blue-blind)
#566F87
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7154cb;
/* rgb */ color: rgb(113, 84, 203);
/* oklch */ color: oklch(53.8% 0.177 290.4);
Tailwind
colors: {
  custom: {
    50: '#a085dc',
    500: '#7154cb',
    950: '#000000',
  },
}
SCSS
$custom: #7154cb;
$custom-light: #a085dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7154cb",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 254.622,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53824,
    "c": 0.17655,
    "h": 290.4
  },
  "luminance": 0.14163
}

Semantic roles & 50–950 ramp

primary
#7154CB
secondary
#CAD6A5
accent
#DD4BB9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7154CB

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

Preview Lab → · Contrast checker → · Palette generator →

#7154CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva