#7234BF#7234BF

#7234BF is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.5% C 0.203 H 298.9°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#7234BF
RGBrgb(114, 52, 191)
HSLhsl(267, 57%, 48%)
HSVhsv(267, 73%, 75%)
CMYKcmyk(40.3%, 72.8%, 0%, 25.1%)
CIE-LABlab(37.47, 54.34, -62.36)
CIE-LCHlch(37.47, 82.71, 311.07°)
OKLaboklab(48.53% 0.0982 -0.1782)
OKLCHoklch(48.53% 0.203 298.9)
XYZxyz(17.5690, 9.7947, 50.2451)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7234BF #81BF34
analogous
#343BBF #7234BF #B834BF
triadic
#7234BF #BF7234 #34BF72
tetradic
#7234BF #BF343B #81BF34 #34BFB8
square
#7234BF #BF343B #81BF34 #34BFB8
split-complementary
#7234BF #BFB834 #3BBF34
monochromatic
#391A5F #55278F #7234BF #925DD3 #B28DE0

Accessibility & contrast

On white

7.10
#7234BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#7234BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7234BF
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7234BF#FFFFFF#000000##FFFFFF
##7234BF1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#0057BC
Tritanopia (blue-blind)
#5F5777
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7234bf;
/* rgb */ color: rgb(114, 52, 191);
/* oklch */ color: oklch(48.5% 0.203 298.9);
Tailwind
colors: {
  custom: {
    50: '#a171d3',
    500: '#7234bf',
    950: '#000000',
  },
}
SCSS
$custom: #7234bf;
$custom-light: #a171d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7234bf",
  "rgb": {
    "r": 114,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 266.763,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48526,
    "c": 0.20341,
    "h": 298.9
  },
  "luminance": 0.09795
}

Semantic roles & 50–950 ramp

primary
#7234BF
secondary
#ABCA84
accent
#E0479C
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7234BF

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

Preview Lab → · Contrast checker → · Palette generator →

#7234BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva