#7234BC#7234BC

#7234BC is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.3% C 0.200 H 299.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#7234BC
RGBrgb(114, 52, 188)
HSLhsl(267, 57%, 47%)
HSVhsv(267, 72%, 74%)
CMYKcmyk(39.4%, 72.3%, 0%, 26.3%)
CIE-LABlab(37.23, 53.59, -60.99)
CIE-LCHlch(37.23, 81.19, 311.31°)
OKLaboklab(48.28% 0.0988 -0.1741)
OKLCHoklch(48.28% 0.2 299.6)
XYZxyz(17.2422, 9.6640, 48.5241)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7234BC #7EBC34
analogous
#343ABC #7234BC #B634BC
triadic
#7234BC #BC7234 #34BC72
tetradic
#7234BC #BC343A #7EBC34 #34BCB6
square
#7234BC #BC343A #7EBC34 #34BCB6
split-complementary
#7234BC #BCB634 #3ABC34
monochromatic
#38195C #55278C #7234BC #915BD2 #B28BDF

Accessibility & contrast

On white

7.16
#7234BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#7234BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7234BC
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7234BC#FFFFFF#000000##FFFFFF
##7234BC1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#615675
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7234bc;
/* rgb */ color: rgb(114, 52, 188);
/* oklch */ color: oklch(48.3% 0.200 299.6);
Tailwind
colors: {
  custom: {
    50: '#a171d1',
    500: '#7234bc',
    950: '#000000',
  },
}
SCSS
$custom: #7234bc;
$custom-light: #a171d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7234bc",
  "rgb": {
    "r": 114,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 267.353,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48282,
    "c": 0.20019,
    "h": 299.6
  },
  "luminance": 0.09664
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7234BC

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

Preview Lab → · Contrast checker → · Palette generator →

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