#7234CA#7234CA

#7234CA is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.4% C 0.215 H 296.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7234CA
RGBrgb(114, 52, 202)
HSLhsl(265, 59%, 50%)
HSVhsv(265, 74%, 79%)
CMYKcmyk(43.6%, 74.3%, 0%, 20.8%)
CIE-LABlab(38.37, 57.10, -67.32)
CIE-LCHlch(38.37, 88.27, 310.31°)
OKLaboklab(49.44% 0.0957 -0.1927)
OKLCHoklch(49.44% 0.215 296.4)
XYZxyz(18.8253, 10.2972, 56.8614)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7234CA #8CCA34
analogous
#3441CA #7234CA #BD34CA
triadic
#7234CA #CA7234 #34CA72
tetradic
#7234CA #CA3441 #8CCA34 #34CABD
square
#7234CA #CA3441 #8CCA34 #34CABD
split-complementary
#7234CA #CABD34 #41CA34
monochromatic
#3B1B69 #572799 #7234CA #9464D7 #B595E4

Accessibility & contrast

On white

6.86
#7234CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7234CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7234CA
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7234CA#FFFFFF#000000##FFFFFF
##7234CA1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#5A5C7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7234ca;
/* rgb */ color: rgb(114, 52, 202);
/* oklch */ color: oklch(49.4% 0.215 296.4);
Tailwind
colors: {
  custom: {
    50: '#a272db',
    500: '#7234ca',
    950: '#000000',
  },
}
SCSS
$custom: #7234ca;
$custom-light: #a272db;
$custom-dark: #000000;
JSON
{
  "hex": "#7234ca",
  "rgb": {
    "r": 114,
    "g": 52,
    "b": 202
  },
  "hsl": {
    "h": 264.8,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49439,
    "c": 0.21516,
    "h": 296.4
  },
  "luminance": 0.10298
}

Semantic roles & 50–950 ramp

primary
#7234CA
secondary
#B3CF8B
accent
#E246A1
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7234CA

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

Preview Lab → · Contrast checker → · Palette generator →

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