#7148FF#7148FF

#7148FF is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.3% C 0.253 H 285.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7148FF
RGBrgb(113, 72, 255)
HSLhsl(253, 100%, 64%)
HSVhsv(253, 72%, 100%)
CMYKcmyk(55.7%, 71.8%, 0%, 0%)
CIE-LABlab(46.13, 61.58, -84.74)
CIE-LCHlch(46.13, 104.76, 306.01°)
OKLaboklab(56.28% 0.0662 -0.244)
OKLCHoklch(56.28% 0.253 285.2)
XYZxyz(27.1719, 15.3638, 96.1221)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7148FF #D6FF48
analogous
#487BFF #7148FF #CD48FF
triadic
#7148FF #FF7148 #48FF71
tetradic
#7148FF #FF487B #D6FF48 #48FFCD
square
#7148FF #FF487B #D6FF48 #48FFCD
split-complementary
#7148FF #FFCD48 #7BFF48
monochromatic
#2E00CD #420BFF #7148FF #A085FF #D0C2FF

Accessibility & contrast

On white

5.16
#7148FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#7148FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7148FF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7148FF#FFFFFF#000000##FFFFFF
##7148FF1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072FF
Deuteranopia (green-blind)
#0068FC
Tritanopia (blue-blind)
#2A7AA0
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7148ff;
/* rgb */ color: rgb(113, 72, 255);
/* oklch */ color: oklch(56.3% 0.253 285.2);
Tailwind
colors: {
  custom: {
    50: '#a77fff',
    500: '#7148ff',
    950: '#000000',
  },
}
SCSS
$custom: #7148ff;
$custom-light: #a77fff;
$custom-dark: #000000;
JSON
{
  "hex": "#7148ff",
  "rgb": {
    "r": 113,
    "g": 72,
    "b": 255
  },
  "hsl": {
    "h": 253.443,
    "s": 100,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56275,
    "c": 0.25278,
    "h": 285.2
  },
  "luminance": 0.15365
}

Semantic roles & 50–950 ramp

primary
#7148FF
secondary
#E3F1B1
accent
#E600B2
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A18
muted
#807C86

Preview Lab

Preview with #7148FF

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

Preview Lab → · Contrast checker → · Palette generator →

#7148FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva