#7154CA#7154CA

#7154CA is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.8% C 0.175 H 290.6°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7154CA
RGBrgb(113, 84, 202)
HSLhsl(255, 53%, 56%)
HSVhsv(255, 58%, 79%)
CMYKcmyk(44.1%, 58.4%, 0%, 20.8%)
CIE-LABlab(44.40, 40.19, -57.53)
CIE-LCHlch(44.40, 70.18, 304.94°)
OKLaboklab(53.75% 0.0617 -0.1641)
OKLCHoklch(53.75% 0.175 290.6)
XYZxyz(20.6381, 14.1149, 57.5027)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154CA #ADCA54
analogous
#5472CA #7154CA #AC54CA
triadic
#7154CA #CA7154 #54CA71
tetradic
#7154CA #CA5472 #ADCA54 #54CAAC
square
#7154CA #CA5472 #ADCA54 #54CAAC
split-complementary
#7154CA #CAAC54 #72CA54
monochromatic
#3C277D #5235AC #7154CA #9883D8 #BFB1E7

Accessibility & contrast

On white

5.49
#7154CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7154CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154CA
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154CA#FFFFFF#000000##FFFFFF
##7154CA1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#0866C7
Tritanopia (blue-blind)
#576E87
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7154ca;
/* rgb */ color: rgb(113, 84, 202);
/* oklch */ color: oklch(53.8% 0.175 290.6);
Tailwind
colors: {
  custom: {
    50: '#a085db',
    500: '#7154ca',
    950: '#000000',
  },
}
SCSS
$custom: #7154ca;
$custom-light: #a085db;
$custom-dark: #000000;
JSON
{
  "hex": "#7154ca",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 254.746,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53753,
    "c": 0.17528,
    "h": 290.6
  },
  "luminance": 0.14116
}

Semantic roles & 50–950 ramp

primary
#7154CA
secondary
#C9D5A5
accent
#DC4CB9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7154CA

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

Preview Lab → · Contrast checker → · Palette generator →

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