#7230B4#7230B4

#7230B4 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.2% C 0.196 H 302.1°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#7230B4
RGBrgb(114, 48, 180)
HSLhsl(270, 58%, 45%)
HSVhsv(270, 73%, 71%)
CMYKcmyk(36.7%, 73.3%, 0%, 29.4%)
CIE-LABlab(35.96, 53.45, -58.34)
CIE-LCHlch(35.96, 79.12, 312.50°)
OKLaboklab(47.18% 0.1042 -0.1663)
OKLCHoklch(47.18% 0.196 302.1)
XYZxyz(16.2326, 8.9865, 44.0506)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7230B4 #72B430
analogous
#3030B4 #7230B4 #B430B4
triadic
#7230B4 #B47230 #30B472
tetradic
#7230B4 #B43030 #72B430 #30B4B4
square
#7230B4 #B43030 #72B430 #30B4B4
split-complementary
#7230B4 #B4B430 #30B430
monochromatic
#351653 #532384 #7230B4 #9151D1 #AF81DD

Accessibility & contrast

On white

7.51
#7230B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7230B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7230B4
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7230B4#FFFFFF#000000##FFFFFF
##7230B41.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#64516F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7230b4;
/* rgb */ color: rgb(114, 48, 180);
/* oklch */ color: oklch(47.2% 0.196 302.1);
Tailwind
colors: {
  custom: {
    50: '#a06fcb',
    500: '#7230b4',
    950: '#000000',
  },
}
SCSS
$custom: #7230b4;
$custom-light: #a06fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7230b4",
  "rgb": {
    "r": 114,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 270,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47184,
    "c": 0.19626,
    "h": 302.1
  },
  "luminance": 0.08987
}

Semantic roles & 50–950 ramp

primary
#7230B4
secondary
#A0C679
accent
#E14794
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7230B4

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

Preview Lab → · Contrast checker → · Palette generator →

#7230B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva