#7234BD#7234BD

#7234BD is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.4% C 0.201 H 299.3°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#7234BD
RGBrgb(114, 52, 189)
HSLhsl(267, 57%, 47%)
HSVhsv(267, 72%, 74%)
CMYKcmyk(39.7%, 72.5%, 0%, 25.9%)
CIE-LABlab(37.31, 53.84, -61.45)
CIE-LCHlch(37.31, 81.70, 311.23°)
OKLaboklab(48.36% 0.0986 -0.1755)
OKLCHoklch(48.36% 0.201 299.3)
XYZxyz(17.3504, 9.7073, 49.0938)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7234BD #7FBD34
analogous
#343BBD #7234BD #B634BD
triadic
#7234BD #BD7234 #34BD72
tetradic
#7234BD #BD343B #7FBD34 #34BDB6
square
#7234BD #BD343B #7FBD34 #34BDB6
split-complementary
#7234BD #BDB634 #3BBD34
monochromatic
#381A5D #55278D #7234BD #915CD2 #B28CDF

Accessibility & contrast

On white

7.14
#7234BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7234BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7234BD
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7234BD#FFFFFF#000000##FFFFFF
##7234BD1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#605675
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7234bd;
/* rgb */ color: rgb(114, 52, 189);
/* oklch */ color: oklch(48.4% 0.201 299.3);
Tailwind
colors: {
  custom: {
    50: '#a171d2',
    500: '#7234bd',
    950: '#000000',
  },
}
SCSS
$custom: #7234bd;
$custom-light: #a171d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7234bd",
  "rgb": {
    "r": 114,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 267.153,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48363,
    "c": 0.20126,
    "h": 299.3
  },
  "luminance": 0.09708
}

Semantic roles & 50–950 ramp

primary
#7234BD
secondary
#AACA83
accent
#E0489B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7234BD

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

Preview Lab → · Contrast checker → · Palette generator →

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