#7254CB#7254CB

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

Color values

HEX#7254CB
RGBrgb(114, 84, 203)
HSLhsl(255, 53%, 56%)
HSVhsv(255, 59%, 80%)
CMYKcmyk(43.8%, 58.6%, 0%, 20.4%)
CIE-LABlab(44.56, 40.69, -57.84)
CIE-LCHlch(44.56, 70.72, 305.13°)
OKLaboklab(53.92% 0.063 -0.1649)
OKLCHoklch(53.92% 0.177 290.9)
XYZxyz(20.8863, 14.2292, 58.1344)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7254CB #ADCB54
analogous
#5472CB #7254CB #AE54CB
triadic
#7254CB #CB7254 #54CB72
tetradic
#7254CB #CB5472 #ADCB54 #54CBAE
square
#7254CB #CB5472 #ADCB54 #54CBAE
split-complementary
#7254CB #CBAE54 #72CB54
monochromatic
#3D267E #5335AD #7254CB #9983D9 #BFB2E8

Accessibility & contrast

On white

5.46
#7254CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7254CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7254CB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7254CB#FFFFFF#000000##FFFFFF
##7254CB1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7254cb;
/* rgb */ color: rgb(114, 84, 203);
/* oklch */ color: oklch(53.9% 0.177 290.9);
Tailwind
colors: {
  custom: {
    50: '#a085dc',
    500: '#7254cb',
    950: '#000000',
  },
}
SCSS
$custom: #7254cb;
$custom-light: #a085dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7254cb",
  "rgb": {
    "r": 114,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 255.126,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53916,
    "c": 0.17655,
    "h": 290.9
  },
  "luminance": 0.1423
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7254CB

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

Preview Lab → · Contrast checker → · Palette generator →

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